Class SinkConcurrentsShipOrder
- java.lang.Object
-
- ch.sahits.game.openpatrician.event.handler.TimedEventListener
-
- ch.sahits.game.openpatrician.display.event.handler.impl.SinkConcurrentsShipOrder
-
public class SinkConcurrentsShipOrder extends ch.sahits.game.openpatrician.event.handler.TimedEventListener- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 22, 2014
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute()voidhandleShipAttack(ch.sahits.game.openpatrician.event.data.ShipAttackEvent event)Handle the ships attak
-
-
-
Method Detail
-
handleShipAttack
public void handleShipAttack(ch.sahits.game.openpatrician.event.data.ShipAttackEvent event)
Handle the ships attak- Parameters:
event- ship attack event
-
execute
public boolean execute()
- Specified by:
executein classch.sahits.game.openpatrician.event.handler.TimedEventListener
-
-