public enum ChessmanStatus extends Enum<ChessmanStatus>
Enum Constant and Description |
---|
BLACK_BISHOP |
BLACK_KING |
BLACK_KING_KO |
BLACK_KNIGHT |
BLACK_PAWN |
BLACK_QUEEN |
BLACK_ROOK |
WHITE_BISHOP |
WHITE_KING |
WHITE_KING_KO |
WHITE_KNIGHT |
WHITE_PAWN |
WHITE_QUEEN |
WHITE_ROOK |
Modifier and Type | Method and Description |
---|---|
static ChessmanStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChessmanStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChessmanStatus BLACK_KING
public static final ChessmanStatus BLACK_KING_KO
public static final ChessmanStatus BLACK_ROOK
public static final ChessmanStatus BLACK_BISHOP
public static final ChessmanStatus BLACK_QUEEN
public static final ChessmanStatus BLACK_KNIGHT
public static final ChessmanStatus BLACK_PAWN
public static final ChessmanStatus WHITE_KING
public static final ChessmanStatus WHITE_KING_KO
public static final ChessmanStatus WHITE_ROOK
public static final ChessmanStatus WHITE_BISHOP
public static final ChessmanStatus WHITE_QUEEN
public static final ChessmanStatus WHITE_KNIGHT
public static final ChessmanStatus WHITE_PAWN
public static ChessmanStatus[] values()
for (ChessmanStatus c : ChessmanStatus.values()) System.out.println(c);
public static ChessmanStatus 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 © 2016. All rights reserved.