Class MarketScenePolygonInitializer


  • @Component
    @Lazy
    @DependentInitialisation(ch.sahits.game.openpatrician.model.initialisation.StartNewGameBean.class)
    public class MarketScenePolygonInitializer
    extends ScenePolygonInitialzer
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Dec 13, 2013
    • Constructor Detail

      • MarketScenePolygonInitializer

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