|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.triplea.delegate.BattleDelegate
public class BattleDelegate
| Constructor Summary | |
|---|---|
BattleDelegate()
|
|
| Method Summary | |
|---|---|
void |
end()
Called before the delegate will stop running. |
java.lang.String |
fightBattle(Territory territory,
boolean bombing)
Fight the battle in the given country |
IDelegateBridge |
getBattleBridge()
|
BattleListing |
getBattles()
|
BattleTracker |
getBattleTracker()
|
Territory |
getCurentBattle()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getName()
|
OriginalOwnerTracker |
getOriginalOwnerTracker()
|
java.lang.Class<? extends IRemote> |
getRemoteType()
Get the remote type of this delegate for use by a RemoteMessenger. |
void |
initialize(java.lang.String name,
java.lang.String displayName)
|
void |
loadState(java.io.Serializable aState)
Loads the delegates state |
java.io.Serializable |
saveState()
Returns the state of the Delegate. |
void |
start(IDelegateBridge aBridge,
GameData gameData)
Called before the delegate will run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BattleDelegate()
| Method Detail |
|---|
public void initialize(java.lang.String name,
java.lang.String displayName)
initialize in interface IDelegate
public void start(IDelegateBridge aBridge,
GameData gameData)
start in interface IDelegatepublic java.lang.String getName()
getName in interface IDelegatepublic java.lang.String getDisplayName()
getDisplayName in interface IDelegate
public java.lang.String fightBattle(Territory territory,
boolean bombing)
IBattleDelegate
fightBattle in interface IBattleDelegateterritory - - where to fightbombing - - fight a bombing raid
public BattleListing getBattles()
getBattles in interface IBattleDelegatepublic void end()
end in interface IDelegatepublic BattleTracker getBattleTracker()
public IDelegateBridge getBattleBridge()
public OriginalOwnerTracker getOriginalOwnerTracker()
public java.io.Serializable saveState()
saveState in interface IDelegatepublic void loadState(java.io.Serializable aState)
loadState in interface IDelegatepublic java.lang.Class<? extends IRemote> getRemoteType()
IDelegate
getRemoteType in interface IDelegatepublic Territory getCurentBattle()
getCurentBattle in interface IBattleDelegate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||