Class ArmoryPolygonInitializer


  • @Component
    @Lazy
    @DependentInitialisation(ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class)
    public class ArmoryPolygonInitializer
    extends ScenePolygonInitialzer
    Initializer for the armory scene.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2017 Created on Jul 17, 2017
    • Constructor Detail

      • ArmoryPolygonInitializer

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