public static enum Commands.Command extends Enum<Commands.Command>
| Modifier and Type | Method and Description |
|---|---|
static Commands.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Commands.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commands.Command PLAYER_JOINED
public static final Commands.Command PLAYER_LEFT
public static final Commands.Command ADD_PLAYER_ID
public static final Commands.Command ADD_BULK_PLAYER_IDS
public static final Commands.Command UPDATE_AVAILABLE_GAMES
public static final Commands.Command UPDATE_GAME_MEMBER_COUNT
public static final Commands.Command GAME_ADDED
public static final Commands.Command GAME_REMOVED
public static final Commands.Command NOTIFY_PLAYABLE_CHARACTERS
public static final Commands.Command NEW_SPRITE_MAP
public static final Commands.Command NEW_BOARD
public static final Commands.Command UPDATE_BOARD_SPACES
public static final Commands.Command NEW_SERVER_MESSAGE
public static final Commands.Command NEW_CHARACTER_STATS
public static final Commands.Command UNHANDLED_COMMAND
public static final Commands.Command MOVE_CLIENT_TO_GAME
public static final Commands.Command ROLL_FOR_STATS
public static final Commands.Command CREATE_CURRENT_CLIENT_CHARACTER
public static final Commands.Command CANCEL_CURRENT_CHARACTER_CREATION
public static final Commands.Command MOVE_PLAYER
public static final Commands.Command TAKE_ITEM
public static final Commands.Command EQUIP_ITEM
public static final Commands.Command USE_ITEM
public static Commands.Command[] values()
for (Commands.Command c : Commands.Command.values()) System.out.println(c);
public static Commands.Command 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 nullCopyright © 2013. All Rights Reserved.