|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jrummikub.model.StoneTray<StoneSet> jrummikub.model.Table
public class Table
Class administering the Stone
s on the game-Table
Nested Class Summary |
---|
Nested classes/interfaces inherited from class jrummikub.model.StoneTray |
---|
StoneTray.Direction |
Field Summary |
---|
Fields inherited from class jrummikub.model.StoneTray |
---|
objects |
Constructor Summary | |
---|---|
Table()
|
Method Summary | |
---|---|
StoneSet |
findStoneSet(Stone stone)
Finds the StoneSet containing the given Stone |
boolean |
isValid()
Tests the Table for rule conflicts by checking all the StoneSet |
void |
pickUpStone(Stone stone)
Removes Stone from the Table |
Methods inherited from class jrummikub.model.StoneTray |
---|
clone, drop, fixInvalidDrop, getPosition, getSize, iterator, pickUp |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jrummikub.model.IStoneTray |
---|
clone, drop, getPosition, getSize, pickUp |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Constructor Detail |
---|
public Table()
Method Detail |
---|
public void pickUpStone(Stone stone)
Stone
from the Table
pickUpStone
in interface ITable
stone
- stone to pick uppublic StoneSet findStoneSet(Stone stone)
ITable
StoneSet
containing the given Stone
findStoneSet
in interface ITable
stone
- stone whose set we're searching
public boolean isValid()
StoneSet
isValid
in interface ITable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |