|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectknockabout.gamemodel.Hex
KnockAbout Hexagon Object Represents 1 tile on the Knockabout Game Board This tile may or may not contain a die. A die-less tile is represented when the die variable is set to null. Otherwise, that variable will point to the die currently resting on the tile
Method Summary | |
Hex |
deepclone()
Return a fresh copy of this hex, including the deep clone of the enclosing die if any |
Die |
getDie()
|
boolean |
isOccupied()
|
void |
putDie(Die _die)
Places a die on top of this tile. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isOccupied()
public void putDie(Die _die)
public Die getDie()
public Hex deepclone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |