@Component @Lazy @DependentInitialisation(value=ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class) public class PortScenePolygonInitializer extends ScenePolygonInitialzer
ScenePolygonInitialzer.PolygonComparator| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientEventBus |
private ClientViewState |
viewState |
logger, xmlLoader| Constructor and Description |
|---|
PortScenePolygonInitializer() |
| Modifier and Type | Method and Description |
|---|---|
protected javafx.event.EventHandler<javafx.scene.input.MouseEvent> |
createEventHandler(String name)
Create an event handler for the clicking on the polygon with the given name.
|
initialzePolygons@Autowired private ClientViewState viewState
@Autowired @Qualifier(value="clientEventBus") private com.google.common.eventbus.AsyncEventBus clientEventBus
protected javafx.event.EventHandler<javafx.scene.input.MouseEvent> createEventHandler(String name)
ScenePolygonInitialzercreateEventHandler in class ScenePolygonInitialzername - of the polygonCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.