view
Interface UserInterface

All Known Implementing Classes:
CommandLineUI, GraphicUI

public interface UserInterface

Contains the methods signatures needed for interacting with the user.

See Also:
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

showGame

void showGame()
Shows the current game to the user.


nextGame

void nextGame()
Changes the now state of the game to the next state of the game.


previousGame

void previousGame()
Changes the now state of the game to the previous state of the game.


makeMove

boolean makeMove(Cell a,
                 Cell b)
Makes a move in the game that goes from Cell a(source) to Cell b(destination).