|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PuzzleMove
A move in the puzzle game is simply a square. It must be moved to the "blank" location, so the square's location is simply stored as part of the move
Constructor Summary | |
PuzzleMove(int square)
Construct a move from a square (presumably in the range of legal values for a puzzle game.) |
Method Summary | |
int |
getValue()
Returns the value of this move. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PuzzleMove(int square)
square
- is the moveMethod Detail |
public int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |