Modifier and Type | Method and Description |
---|---|
static Commands |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Commands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commands CLIENT_SEND_SPRITE
public static final Commands CLIENT_SEND_GAMEOBJECT
public static final Commands CLIENT_SEND_SCENE
public static final Commands CLIENT_SEND_GAMEOBJECTS
public static final Commands CLIENT_SEND_ASSETS
public static final Commands CLIENT_GET_SPRITE
public static final Commands CLIENT_GET_SPRITES
public static final Commands CLIENT_GET_GAMEOBJECT
public static final Commands CLIENT_GET_SCENE
public static final Commands CLIENT_GET_SCENES
public static final Commands CLIENT_GET_ASSETS
public static final Commands SERVER_SEND_SPRITE
public static final Commands SERVER_SEND_SPRITES
public static final Commands SERVER_SEND_GAMEOBJECT
public static final Commands SERVER_SEND_SCENE
public static final Commands SERVER_SEND_SCENES
public static final Commands SERVER_SEND_GAMEOBJECTS
public static final Commands SERVER_SEND_ASSEST
public static Commands[] values()
for (Commands c : Commands.values()) System.out.println(c);
public static Commands valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null