|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHand
Interface for the Hand
model
Method Summary | |
---|---|
int |
getFreeRowSpace(int row)
Gets the amount of free space in a hand row |
int |
getIdenticalStoneCount()
Counts the pairs of identical stones |
int |
getRowCount()
The number of used rows |
int |
getStonePoints(GameSettings settings)
Get the accumulated number of points of stones in the hand |
boolean |
isInitialMeldPossible(GameSettings settings)
Tests whether it is possible to lay down an initial meld using the stones on the hand |
Methods inherited from interface jrummikub.model.IStoneTray |
---|
clone, contains, drop, getPosition, getSize, pickUp |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
int getRowCount()
int getFreeRowSpace(int row)
row
- the row number
int getStonePoints(GameSettings settings)
settings
- the game settings
boolean isInitialMeldPossible(GameSettings settings)
settings
- the game settings
int getIdenticalStoneCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |