Class InGameOptionsScene


  • public class InGameOptionsScene
    extends OpenPatricianScene
    Options that can be accessed from within the game.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 27, 2014
    • Field Detail

      • uiFactory

        @Autowired
        private UIFactory uiFactory
      • gameFactory

        @Autowired
        private GameFactory gameFactory
      • locale

        @Autowired
        private Locale locale
      • messageSource

        @Autowired
        private org.springframework.context.MessageSource messageSource
      • date

        @Autowired
        private Date date
      • fontLoader

        @Autowired
        private IFontLoader fontLoader
      • clientServerEventBus

        @Autowired
        @Qualifier("serverClientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientServerEventBus
      • timerEventBus

        @Autowired
        @Qualifier("timerEventBus")
        private com.google.common.eventbus.AsyncEventBus timerEventBus
      • game

        private IGame game
    • Constructor Detail

      • InGameOptionsScene

        public InGameOptionsScene()
    • Method Detail

      • setSceneChangeable

        public void setSceneChangeable​(SceneChangeable sceneChangeable)
      • getStyleSheetFilename

        private java.lang.String getStyleSheetFilename()
      • unregister

        @PreDestroy
        private void unregister()
      • createControls

        @PostConstruct
        private void createControls()
      • initializeSavedGames

        private void initializeSavedGames()
        Initialize the lists that depend on the saved games.
      • initializeState

        public void initializeState()
      • getBackEvent

        private javafx.event.EventHandler<javafx.scene.input.MouseEvent> getBackEvent()
      • createLoadAction

        private javafx.event.EventHandler<javafx.scene.input.MouseEvent> createLoadAction()
      • handleGameStateChange

        public void handleGameStateChange​(GameStateChange stateChange)