Package com.starpoints.game
Enum Game.FlashState
- java.lang.Object
-
- java.lang.Enum<Game.FlashState>
-
- com.starpoints.game.Game.FlashState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Game.FlashState>
- Enclosing class:
- Game
public static enum Game.FlashState extends java.lang.Enum<Game.FlashState>
States during flashing to the next level.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FadeInField
FadeOutField
FlashAnimation
FlashToNext
PlaceFigures
RemoveFigures
RemoveItems
Starting
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Game.FlashState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Game.FlashState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Starting
public static final Game.FlashState Starting
-
RemoveItems
public static final Game.FlashState RemoveItems
-
RemoveFigures
public static final Game.FlashState RemoveFigures
-
FadeOutField
public static final Game.FlashState FadeOutField
-
FlashToNext
public static final Game.FlashState FlashToNext
-
FadeInField
public static final Game.FlashState FadeInField
-
PlaceFigures
public static final Game.FlashState PlaceFigures
-
FlashAnimation
public static final Game.FlashState FlashAnimation
-
-
Method Detail
-
values
public static Game.FlashState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Game.FlashState c : Game.FlashState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Game.FlashState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-