|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectGameMoves
public class GameMoves
| Constructor Summary | |
|---|---|
GameMoves()
|
|
| Method Summary | |
|---|---|
void |
addMove(Move move)
|
boolean |
undoMoves(Word word,
Scrabble scrabble)
Undoes a move which has the first occurrence of the word passed in (and also undoes all the moves performed after that) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameMoves()
| Method Detail |
|---|
public void addMove(Move move)
public boolean undoMoves(Word word,
Scrabble scrabble)
word - The first occurrence of the word to undo (and every move after it)scrabble - The Scrabble object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||