|
|||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Uses of GameState in scrabble |
---|
Methods in scrabble that return GameState | |
---|---|
GameState |
Scrabble.getCurrentGameState()
Accessor method for Scrabble's currentGameState field. |
GameState |
Scrabble.playOnce()
Will play one turn in the Scrabble game and return a new GameState that contains the values that have changed during play. |
GameState |
Scrabble.playOnceHuman(java.lang.String toPlay,
int rowStart,
int colStart,
boolean vertical)
Plays toPlay (in the order given), starting at zero-based position (rowStart, colStart). |
Methods in scrabble that return types with arguments of type GameState | |
---|---|
java.util.ArrayList<GameState> |
Scrabble.playGame()
Will play the entire game and return an ArrayList of GameStates that represent each step of play from the end of the next play until the end of the game. |
Constructors in scrabble with parameters of type GameState | |
---|---|
GameState(GameState gs)
You may (or may not) find it useful to be able to clone a GameState. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |