|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--CardShape
CardShape stores a shape used by the Set game.
Field Summary | |
static int |
CIRCLE
|
static int |
DIAMOND
|
static int |
SQUIGGLE
|
Constructor Summary | |
CardShape(int shape)
Constructor for objects of class SetShape. |
Method Summary | |
boolean |
equals(Object o)
Returns true if and only if this object represents the same shape as o |
static int |
getFirst()
|
static int |
getLast()
|
Shape |
getScreenShape()
Returns a graphical color object corresponding the to color of this object. |
int |
toInt()
|
String |
toString()
Returns shape in English. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CIRCLE
public static final int DIAMOND
public static final int SQUIGGLE
Constructor Detail |
public CardShape(int shape)
Method Detail |
public boolean equals(Object o)
equals
in class Object
public static int getFirst()
public static int getLast()
public Shape getScreenShape()
public int toInt()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |