|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<BombAction.BombResponse>
fr.umlv.botbattle.BombAction.BombResponse
public static enum BombAction.BombResponse
values returned by a call
BotContext.nextTurn(DROP_BOMB)
| Enum Constant Summary | |
|---|---|
BOMB_DROPPED
the bomb was drop at the bot position. |
|
NO_MORE_BOMB
all bombs available are already dropped. |
|
| Method Summary | |
|---|---|
static BombAction.BombResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BombAction.BombResponse[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 BombAction.BombResponse BOMB_DROPPED
public static final BombAction.BombResponse NO_MORE_BOMB
| Method Detail |
|---|
public static final BombAction.BombResponse[] values()
for(BombAction.BombResponse c : BombAction.BombResponse.values())
System.out.println(c);
public static BombAction.BombResponse 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||