Class GuildScenePolygonInitializer
- java.lang.Object
-
- ch.sahits.game.openpatrician.display.gameplay.impl.ScenePolygonInitialzer
-
- ch.sahits.game.openpatrician.display.gameplay.impl.AbstractMarketPlaceBuildingPolygonInitializer
-
- ch.sahits.game.openpatrician.display.gameplay.impl.GuildScenePolygonInitializer
-
@Component @Lazy @DependentInitialisation(StartNewGameBean.class) public class GuildScenePolygonInitializer extends AbstractMarketPlaceBuildingPolygonInitializer
- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 19, 2016
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.sahits.game.openpatrician.display.gameplay.impl.ScenePolygonInitialzer
ScenePolygonInitialzer.PolygonComparator
-
-
Field Summary
-
Fields inherited from class ch.sahits.game.openpatrician.display.gameplay.impl.ScenePolygonInitialzer
xmlLoader
-
-
Constructor Summary
Constructors Constructor Description GuildScenePolygonInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javafx.event.EventHandler<javafx.scene.input.MouseEvent>
createEventHandler(java.lang.String name)
Create an event handler for the clicking on the polygon with the given name.-
Methods inherited from class ch.sahits.game.openpatrician.display.gameplay.impl.AbstractMarketPlaceBuildingPolygonInitializer
createBackToMarketPlaceEvent
-
Methods inherited from class ch.sahits.game.openpatrician.display.gameplay.impl.ScenePolygonInitialzer
initialzePolygons
-
-
-
-
Method Detail
-
createEventHandler
protected javafx.event.EventHandler<javafx.scene.input.MouseEvent> createEventHandler(java.lang.String name)
Description copied from class:ScenePolygonInitialzer
Create an event handler for the clicking on the polygon with the given name.- Specified by:
createEventHandler
in classScenePolygonInitialzer
- Parameters:
name
- of the polygon- Returns:
- EventHandler for the mouse click event
-
-