public enum SnifferState extends Enum<SnifferState>
| Enum Constant and Description |
|---|
DIGGING |
FEELING_HAPPY |
IDLING |
RISING |
SCENTING |
SEARCHING |
SNIFFING |
| Modifier and Type | Method and Description |
|---|---|
static SnifferState |
from(int id) |
static SnifferState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnifferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnifferState IDLING
public static final SnifferState FEELING_HAPPY
public static final SnifferState SCENTING
public static final SnifferState SNIFFING
public static final SnifferState SEARCHING
public static final SnifferState DIGGING
public static final SnifferState RISING
public static SnifferState[] values()
for (SnifferState c : SnifferState.values()) System.out.println(c);
public static SnifferState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SnifferState from(int id)
Copyright © 2023. All rights reserved.