public class HumanPlayerEngine extends AbstractEngine
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private ch.sahits.game.openpatrician.model.PlayerList |
players |
| Constructor and Description |
|---|
HumanPlayerEngine() |
| Modifier and Type | Method and Description |
|---|---|
List<AbstractEngine> |
getChildren()
Any engine may hold various child engines.
|
(package private) List<ch.sahits.game.openpatrician.model.IPlayer> |
getHumanPlayers() |
private void |
init() |
private void |
unregister() |
@Autowired private ch.sahits.game.openpatrician.model.PlayerList players
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
@PostConstruct private void init()
@PreDestroy private void unregister()
public List<AbstractEngine> getChildren()
AbstractEnginegetChildren in class AbstractEngineList<ch.sahits.game.openpatrician.model.IPlayer> getHumanPlayers()
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.