Package com.dicycat.kroy.screens
Enum GameScreen.GameScreenState
- java.lang.Object
-
- java.lang.Enum<GameScreen.GameScreenState>
-
- com.dicycat.kroy.screens.GameScreen.GameScreenState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GameScreen.GameScreenState>
,java.lang.constant.Constable
- Enclosing class:
- GameScreen
public static enum GameScreen.GameScreenState extends java.lang.Enum<GameScreen.GameScreenState>
-
-
Method Summary
Modifier and Type Method Description static GameScreen.GameScreenState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GameScreen.GameScreenState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAUSE
public static final GameScreen.GameScreenState PAUSE
-
RUN
public static final GameScreen.GameScreenState RUN
-
RESUME
public static final GameScreen.GameScreenState RESUME
-
OPTIONS
public static final GameScreen.GameScreenState OPTIONS
-
-
Method Detail
-
values
public static GameScreen.GameScreenState[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GameScreen.GameScreenState 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
-
-