|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--CardColor
CardColor stores a single color to be used in the SetMaster game.
Field Summary | |
static int |
BLUE
|
static int |
GREEN
|
static int |
RED
|
Constructor Summary | |
CardColor(int color)
Constructor for objects of class SetColor. |
Method Summary | |
boolean |
equals(Object o)
Returns true if and only if this object represents the same color as o |
static int |
getFirst()
|
static int |
getLast()
|
Color |
getScreenColor()
Returns a graphical color object corresponding the to color of this object. |
String |
toString()
Returns simple text giving the color in English. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BLUE
public static final int GREEN
public static final int RED
Constructor Detail |
public CardColor(int color)
Method Detail |
public boolean equals(Object o)
equals
in class Object
public static int getFirst()
public static int getLast()
public Color getScreenColor()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |