|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserInterface
Contains the methods signatures needed for interacting with the user.
CommandLineUI,
GraphicUI| Method Summary | |
|---|---|
boolean |
makeMove(Cell a,
Cell b)
Makes a move in the game that goes from Cell a(source) to Cell b(destination). |
void |
nextGame()
Changes the now state of the game to the next state of the game. |
void |
previousGame()
Changes the now state of the game to the previous state of the game. |
void |
showGame()
Shows the current game to the user. |
| Method Detail |
|---|
void showGame()
void nextGame()
void previousGame()
boolean makeMove(Cell a,
Cell b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||