games.strategy.kingstable.delegate
Class EndTurnDelegate

java.lang.Object
  extended by games.strategy.common.delegate.BaseDelegate
      extended by games.strategy.kingstable.delegate.EndTurnDelegate
All Implemented Interfaces:
IDelegate

public class EndTurnDelegate
extends BaseDelegate

Responsible for checking for a winner in a game of King's Table.

Version:
$LastChangedDate: 2007-07-03 10:16:19 -0700 (Tue, 03 Jul 2007) $
Author:
Lane Schwartz

Field Summary
 
Fields inherited from class games.strategy.common.delegate.BaseDelegate
m_bridge, m_data, m_displayName, m_name, m_player
 
Constructor Summary
EndTurnDelegate()
           
 
Method Summary
 java.lang.Class<? extends IRemote> getRemoteType()
          If this class implements an interface which inherits from IRemote, returns the class of that interface.
 void start(IDelegateBridge bridge, GameData gameData)
          Called before the delegate will run.
 
Methods inherited from class games.strategy.common.delegate.BaseDelegate
end, getDisplayName, getName, initialize, loadState, saveState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndTurnDelegate

public EndTurnDelegate()
Method Detail

start

public void start(IDelegateBridge bridge,
                  GameData gameData)
Called before the delegate will run.

Specified by:
start in interface IDelegate
Overrides:
start in class BaseDelegate

getRemoteType

public java.lang.Class<? extends IRemote> getRemoteType()
If this class implements an interface which inherits from IRemote, returns the class of that interface. Otherwise, returns null.

Specified by:
getRemoteType in interface IDelegate
Specified by:
getRemoteType in class BaseDelegate