public class CaptainEngine extends AbstractEngine
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.people.impl.CaptainsState |
captainsState |
private ch.sahits.game.openpatrician.model.Date |
date |
private com.google.common.eventbus.AsyncEventBus |
timerEventBus |
| Constructor and Description |
|---|
CaptainEngine() |
| Modifier and Type | Method and Description |
|---|---|
List<AbstractEngine> |
getChildren()
Any engine may hold various child engines.
|
void |
handleDayChange(ClockTickDayChange event) |
void |
init() |
private void |
unregister() |
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired private ch.sahits.game.openpatrician.model.people.impl.CaptainsState captainsState
@Autowired @Qualifier(value="timerEventBus") private com.google.common.eventbus.AsyncEventBus timerEventBus
@PostConstruct public void init()
@PreDestroy private void unregister()
public void handleDayChange(ClockTickDayChange event)
public List<AbstractEngine> getChildren()
AbstractEnginegetChildren in class AbstractEngineCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.