heurgame.event
Interface GameListener

All Known Implementing Classes:
Referee

public interface GameListener

Author:
David Kaplin Should encompass events that all players and other entities should know about the status and state of the game.

Method Summary
 void gameEnded(GameEvent e)
          Called when the game is over.
 void gameSetup(GameEvent e)
          Called when the Game is being setup before the first turn is allowed.
 void gameStarted(GameEvent e)
          Called once the game is started and all the players are ready.
 

Method Detail

gameSetup

public void gameSetup(GameEvent e)
Called when the Game is being setup before the first turn is allowed.

Parameters:
e - May have some specific setup information

gameStarted

public void gameStarted(GameEvent e)
Called once the game is started and all the players are ready.

Parameters:
e - additional information

gameEnded

public void gameEnded(GameEvent e)
Called when the game is over.

Parameters:
e - additional information