AIPlayerEnginepublic interface IAIEventHandler
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleMarriageEvent(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.clientserverinterface.model.event.MarriageBrokerAnnouncementState state) |
Handle the offer of a marriage broker.
|
void |
initializeNewShip(ch.sahits.game.openpatrician.model.ship.IShip ship,
ch.sahits.game.openpatrician.model.IAIPlayer player) |
Method to handle the initializing of a trade strategy for a new ship.
|
void handleMarriageEvent(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.clientserverinterface.model.event.MarriageBrokerAnnouncementState state)
state - of the marriage brokervoid initializeNewShip(ch.sahits.game.openpatrician.model.ship.IShip ship,
ch.sahits.game.openpatrician.model.IAIPlayer player)
ship - to be initializedplayer - for whom the ship is to be initializedCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.