public class SinkConcurrentsShipOrder
extends ch.sahits.game.openpatrician.event.handler.TimedEventListener
| Constructor | Description |
|---|---|
SinkConcurrentsShipOrder(ch.sahits.game.openpatrician.model.IPlayer opponent,
ch.sahits.game.openpatrician.model.IPlayer player,
int offerdTime,
int premium,
ch.sahits.game.openpatrician.model.event.TimedTask reconciliation) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
execute() |
|
void |
handleShipAttack(ch.sahits.game.openpatrician.event.data.ShipAttackEvent event) |
Handle the ships attak
|
public SinkConcurrentsShipOrder(ch.sahits.game.openpatrician.model.IPlayer opponent,
ch.sahits.game.openpatrician.model.IPlayer player,
int offerdTime,
int premium,
ch.sahits.game.openpatrician.model.event.TimedTask reconciliation)
public void handleShipAttack(ch.sahits.game.openpatrician.event.data.ShipAttackEvent event)
event - ship attack eventpublic boolean execute()
execute in class ch.sahits.game.openpatrician.event.handler.TimedEventListenerCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.