|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICellState
Interface describing the state of a single cell on an Igel Argern game board.
Method Summary | |
---|---|
int |
playerAtDepth(int depth)
return the number of the player at the given depth |
int |
size()
return the number of hedgehogs in this cell. |
java.lang.String |
type()
The type of this cell. |
Method Detail |
---|
int size()
int playerAtDepth(int depth)
depth
- the depth (indexed beginning at 0)
java.lang.IllegalArgumentException
- if depth < 0
or depth >= size
java.lang.String type()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |