|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the methods that all "Die" objects must have.
Method Summary | |
void |
roll()
Rolls the Die object. |
int |
sides()
Returns the number of sides of this die object. |
int |
top()
Returns the current value on the top of this Die object. |
Method Detail |
public int sides()
public void roll()
public int top()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |