|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<HSBotState>
cz.cuni.amis.pogamut.ut2004.hideandseek.protocol.HSBotState
public enum HSBotState
| Enum Constant Summary | |
|---|---|
RUNNER
Bot that should be "hiding" from SEEKER. |
|
RUNNER_CAPTURED
RUNNER that has been spotted and tagged in SAFE area before it managed to escape. |
|
RUNNER_FAULED
RUNNER that was found within restricted area whenever the SEEKER has been spawned. |
|
RUNNER_SAFE
RUNNER that managed to escape by getting to the safe area before the SEEKER spot him/catches him. |
|
RUNNER_SPOTTED
RUNNER that has been already spotted by the seeker. |
|
RUNNER_SURVIVED
RUNNER has survived this round (that has just ended). |
|
SEEKER
Bot that is "IT", have to seek RUNNERs out. |
|
| Method Summary | |
|---|---|
static HSBotState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HSBotState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final HSBotState SEEKER
public static final HSBotState RUNNER
public static final HSBotState RUNNER_SPOTTED
public static final HSBotState RUNNER_SAFE
public static final HSBotState RUNNER_CAPTURED
public static final HSBotState RUNNER_FAULED
public static final HSBotState RUNNER_SURVIVED
| Method Detail |
|---|
public static HSBotState[] values()
for (HSBotState c : HSBotState.values()) System.out.println(c);
public static HSBotState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||