public class RepairPirateShipTask
extends ch.sahits.game.openpatrician.model.event.TimedTask
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private ch.sahits.game.openpatrician.model.people.ISeaPirate |
pirate |
private ch.sahits.game.openpatrician.model.city.IShipyard |
shipyard |
private ch.sahits.game.openpatrician.model.ship.INavigableVessel |
vessel |
| Constructor and Description |
|---|
RepairPirateShipTask(org.joda.time.DateTime executionTime,
ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.people.ISeaPirate pirate,
ch.sahits.game.openpatrician.model.city.IShipyard shipyard) |
| Modifier and Type | Method and Description |
|---|---|
private void |
executeRepair(ch.sahits.game.openpatrician.model.ship.IShip ship) |
void |
run() |
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
private final ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel
private final ch.sahits.game.openpatrician.model.people.ISeaPirate pirate
private final ch.sahits.game.openpatrician.model.city.IShipyard shipyard
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.