|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgame.checkers.CheckerColor
CheckerColor represents the color of a checker. It is a typesafe enumeration with only two values: RED and BLACK. CheckerColors may be compared with == or equals; both methods return the same thing.
Field Summary | |
static CheckerColor |
BLACK
Black color. |
static CheckerColor |
RED
Red color. |
Method Summary | |
String |
toString()
Get string representation of this color. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final CheckerColor RED
public static final CheckerColor BLACK
Method Detail |
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |