|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.engine.gamePlayer.DefaultPlayerBridge
public class DefaultPlayerBridge
Default implementation of PlayerBridge.
| 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 |
|---|
public DefaultPlayerBridge(IGame aGame)
| Method Detail |
|---|
public java.lang.String getStepName()
getStepName in interface IPlayerBridgepublic boolean isGameOver()
IPlayerBridge
isGameOver in interface IPlayerBridgepublic GameData getGameData()
getGameData in interface IPlayerBridgepublic IRemote getRemote()
IPlayerBridge
getRemote in interface IPlayerBridgepublic IRemote getRemote(java.lang.String name)
IPlayerBridge
getRemote in interface IPlayerBridgepublic java.util.Properties getStepProperties()
IPlayerBridge
getStepProperties in interface IPlayerBridge
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||