|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Prize
Prize on a gaming wheel.
Field Summary | |
protected int |
value
Value of this. |
Constructor Summary | |
Prize(int aValue)
Constructs a prize with the given value. |
Method Summary | |
boolean |
equals(Object obj)
Returns whether or not this equals the given object. |
Color |
getColor()
Returns the color of this. |
int |
getValue()
Returns the value of this. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int value
Constructor Detail |
public Prize(int aValue)
aValue
- value for the prizeMethod Detail |
public int getValue()
public Color getColor()
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |