games.strategy.engine.gamePlayer
Class DefaultPlayerBridge

java.lang.Object
  extended by games.strategy.engine.gamePlayer.DefaultPlayerBridge
All Implemented Interfaces:
IPlayerBridge

public class DefaultPlayerBridge
extends java.lang.Object
implements IPlayerBridge

Default implementation of PlayerBridge.

Author:
Sean Bridges

Constructor Summary
DefaultPlayerBridge(IGame aGame)
          Creates new DefaultPlayerBridge
 
Method Summary
 GameData getGameData()
          Return the game data
 IRemote getRemote()
          Get a remote reference to the current delegate, the type of the reference is declared by the delegates getRemoteType() method
 IRemote getRemote(java.lang.String name)
          Get a remote reference to the named delegate, the type of the reference is declared by the delegates getRemoteType() method
 java.lang.String getStepName()
          Get the name of the current step being exectured.
 java.util.Properties getStepProperties()
          Get the properties for the current step.
 boolean isGameOver()
          is the game over?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPlayerBridge

public DefaultPlayerBridge(IGame aGame)
Creates new DefaultPlayerBridge

Method Detail

getStepName

public java.lang.String getStepName()
Get the name of the current step being exectured.

Specified by:
getStepName in interface IPlayerBridge

isGameOver

public boolean isGameOver()
Description copied from interface: IPlayerBridge
is the game over?

Specified by:
isGameOver in interface IPlayerBridge

getGameData

public GameData getGameData()
Return the game data

Specified by:
getGameData in interface IPlayerBridge

getRemote

public IRemote getRemote()
Description copied from interface: IPlayerBridge
Get a remote reference to the current delegate, the type of the reference is declared by the delegates getRemoteType() method

Specified by:
getRemote in interface IPlayerBridge

getRemote

public IRemote getRemote(java.lang.String name)
Description copied from interface: IPlayerBridge
Get a remote reference to the named delegate, the type of the reference is declared by the delegates getRemoteType() method

Specified by:
getRemote in interface IPlayerBridge

getStepProperties

public java.util.Properties getStepProperties()
Description copied from interface: IPlayerBridge
Get the properties for the current step.

Specified by:
getStepProperties in interface IPlayerBridge