heurgame.event
Interface PlayerListener

All Known Implementing Classes:
PlayerColors, WelcomeScreen

public interface PlayerListener

Author:
David Kaplin A catch all for player specific information

Method Summary
 void playerJoined(PlayerEvent e)
          Notificies listeners when a player enters the game.
 void playerLeft(PlayerEvent e)
          Notifies listeners when a player leaves the game.
 void playerMoves(PlayerEvent e)
          May be sent as a status message or a return from validation from analysis
 void playerStatusChanged(PlayerEvent e)
          For implementation defined use
 

Method Detail

playerJoined

public void playerJoined(PlayerEvent e)
Notificies listeners when a player enters the game.

Parameters:
e - Player Specific information

playerLeft

public void playerLeft(PlayerEvent e)
Notifies listeners when a player leaves the game.

Parameters:
e - Player Specific information

playerMoves

public void playerMoves(PlayerEvent e)
May be sent as a status message or a return from validation from analysis

Parameters:
e - Information about the Player and the status of the Move

playerStatusChanged

public void playerStatusChanged(PlayerEvent e)
For implementation defined use

Parameters:
e - Implementation defined