jaige
Class AverageMoveTimeMonitor

java.lang.Object
  extended by jaige.AverageMoveTimeMonitor
All Implemented Interfaces:
GameListener, MoveListener, NewGameListener, TurnListener

public class AverageMoveTimeMonitor
extends java.lang.Object
implements MoveListener, TurnListener, NewGameListener


Constructor Summary
AverageMoveTimeMonitor()
           
 
Method Summary
 Match getMatchData()
           
 void processMoveEvent(MoveEvent event)
           
 void processNewGameEvent(NewGameEvent event)
           
 void processTurnEvent(TurnEvent event)
          Called when the turn changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageMoveTimeMonitor

public AverageMoveTimeMonitor()
Method Detail

processMoveEvent

public void processMoveEvent(MoveEvent event)
Specified by:
processMoveEvent in interface MoveListener

processNewGameEvent

public void processNewGameEvent(NewGameEvent event)
Specified by:
processNewGameEvent in interface NewGameListener

processTurnEvent

public void processTurnEvent(TurnEvent event)
Description copied from interface: TurnListener
Called when the turn changes. In the case of an AI, this is only called when it is the AIs turn.

Specified by:
processTurnEvent in interface TurnListener
Parameters:
event - TurnEvent

getMatchData

public Match getMatchData()