Enum Constant and Description |
---|
BONUS_LIFE |
BONUS_TRANSPARENT |
BRICK |
BULLET_HORIZONTAL |
BULLET_VERTICAL |
TANK_1_DOWN |
TANK_1_LEFT |
TANK_1_RIGHT |
TANK_1_UP |
VOID |
Modifier and Type | Method and Description |
---|---|
static ImageID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageID BRICK
public static final ImageID VOID
public static final ImageID TANK_1_UP
public static final ImageID TANK_1_DOWN
public static final ImageID TANK_1_LEFT
public static final ImageID TANK_1_RIGHT
public static final ImageID BULLET_VERTICAL
public static final ImageID BULLET_HORIZONTAL
public static final ImageID BONUS_LIFE
public static final ImageID BONUS_TRANSPARENT
public static ImageID[] values()
for (ImageID c : ImageID.values()) System.out.println(c);
public static ImageID 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