|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.triplea.delegate.GivePUsDelegate
public class GivePUsDelegate
A delegate used to transfer PUs to other players
| Constructor Summary | |
|---|---|
GivePUsDelegate()
Creates a new instance of GivePUsDelegate |
|
| Method Summary | |
|---|---|
void |
end()
Called before the delegate will stop running. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getName()
|
int |
getProduction(PlayerID id)
|
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 state)
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 GivePUsDelegate()
| 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 IDelegatepublic void end()
end in interface IDelegatepublic int getProduction(PlayerID id)
public java.io.Serializable saveState()
saveState in interface IDelegatepublic void loadState(java.io.Serializable state)
loadState in interface IDelegatepublic java.lang.Class<? extends IRemote> getRemoteType()
IDelegate
getRemoteType in interface IDelegate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||