Package com.thowv.javafxgridgameboard
Enum AlgorithmHelper.GameBoardDirection
- java.lang.Object
-
- java.lang.Enum<AlgorithmHelper.GameBoardDirection>
-
- com.thowv.javafxgridgameboard.AlgorithmHelper.GameBoardDirection
-
- All Implemented Interfaces:
Serializable,Comparable<AlgorithmHelper.GameBoardDirection>
- Enclosing class:
- AlgorithmHelper
public static enum AlgorithmHelper.GameBoardDirection extends Enum<AlgorithmHelper.GameBoardDirection>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlgorithmHelper.GameBoardDirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static AlgorithmHelper.GameBoardDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
W
public static final AlgorithmHelper.GameBoardDirection W
-
NW
public static final AlgorithmHelper.GameBoardDirection NW
-
N
public static final AlgorithmHelper.GameBoardDirection N
-
NE
public static final AlgorithmHelper.GameBoardDirection NE
-
E
public static final AlgorithmHelper.GameBoardDirection E
-
SE
public static final AlgorithmHelper.GameBoardDirection SE
-
S
public static final AlgorithmHelper.GameBoardDirection S
-
SW
public static final AlgorithmHelper.GameBoardDirection SW
-
-
Method Detail
-
values
public static AlgorithmHelper.GameBoardDirection[] 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 (AlgorithmHelper.GameBoardDirection c : AlgorithmHelper.GameBoardDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlgorithmHelper.GameBoardDirection valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-