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