Class ChurchScenePolygonInitializer


  • @Component
    @Lazy
    @DependentInitialisation(ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class)
    public class ChurchScenePolygonInitializer
    extends AbstractMarketPlaceBuildingPolygonInitializer
    Event handler for the city hall scene.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2015 Created on Jan 03, 2015
    • Constructor Detail

      • ChurchScenePolygonInitializer

        public ChurchScenePolygonInitializer()
    • 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