public enum SpaceRunnerType extends Enum<SpaceRunnerType>
| Modifier and Type | Method and Description |
|---|---|
static SpaceRunnerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpaceRunnerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceRunnerType PLAYER
public static final SpaceRunnerType BULLET
public static final SpaceRunnerType ENEMY
public static SpaceRunnerType[] values()
for (SpaceRunnerType c : SpaceRunnerType.values()) System.out.println(c);
public static SpaceRunnerType 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 © 2017. All rights reserved.