Class OpponentsOrder
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.event.TimedTask
-
- ch.sahits.game.openpatrician.display.event.task.OpponentsOrder
-
- All Implemented Interfaces:
java.lang.Runnable
public class OpponentsOrder extends ch.sahits.game.openpatrician.model.event.TimedTaskOrder of the opponent to attack the original client. The offer is postponed 10 days and will be canceled once the opponents ship is attacked. This task adds itself the the timed event list.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Feb 24, 2013
-
-
Constructor Summary
Constructors Constructor Description OpponentsOrder(ch.sahits.game.openpatrician.model.IPlayer opponent, ch.sahits.game.openpatrician.model.IPlayer client, ch.sahits.game.openpatrician.model.IPlayer player, int premium)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleShipAttack(ch.sahits.game.openpatrician.event.data.ShipAttackEvent event)Handling ships attacks.voidrun()java.lang.StringtoString()
-