Class GuildScenePolygonInitializer


  • @Component
    @Lazy
    @DependentInitialisation(ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class)
    public class GuildScenePolygonInitializer
    extends AbstractMarketPlaceBuildingPolygonInitializer
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Nov 19, 2016
    • Constructor Detail

      • GuildScenePolygonInitializer

        public GuildScenePolygonInitializer()
    • 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 class ScenePolygonInitialzer
        Parameters:
        name - of the polygon
        Returns:
        EventHandler for the mouse click event