public class TravelToTimedTask
extends ch.sahits.game.openpatrician.model.event.TimedTask
| Modifier and Type | Field and Description |
|---|---|
private Optional<ch.sahits.game.openpatrician.model.city.ICity> |
city |
private com.google.common.eventbus.AsyncEventBus |
clientEventBus |
private ch.sahits.game.openpatrician.model.Date |
date |
private javafx.geometry.Point2D |
destination |
private ch.sahits.game.openpatrician.model.ship.INavigableVessel |
vessel |
| Constructor and Description |
|---|
TravelToTimedTask(javafx.geometry.Point2D destination,
ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
Optional<ch.sahits.game.openpatrician.model.city.ICity> city) |
| Modifier and Type | Method and Description |
|---|---|
private void |
init() |
void |
run() |
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired @Qualifier(value="clientEventBus") private com.google.common.eventbus.AsyncEventBus clientEventBus
private javafx.geometry.Point2D destination
private ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel
private Optional<ch.sahits.game.openpatrician.model.city.ICity> city
public TravelToTimedTask(javafx.geometry.Point2D destination,
ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
Optional<ch.sahits.game.openpatrician.model.city.ICity> city)
@PostConstruct private void init()
public void run()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.