|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes classes that are used to create game field shape.
Method Summary | |
FieldPoint[][] |
getNewField()
Returns new blank game field. |
java.awt.Point |
getStartingPosition()
Returns starting position. |
boolean |
isGameOverPosition(java.awt.Point position)
Checks if given position is game over position. |
int |
isGoalPosition(java.awt.Point position)
Checks if given position is goal over position. |
Method Detail |
public FieldPoint[][] getNewField()
public java.awt.Point getStartingPosition()
public boolean isGameOverPosition(java.awt.Point position)
position
- Position to check.
public int isGoalPosition(java.awt.Point position)
position
- Position to check.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |