public class InGameOptionsScene extends OpenPatricianScene
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private ch.sahits.game.openpatrician.model.EGameSpeed |
currentSpeed |
private ch.sahits.game.openpatrician.model.Date |
date |
private IFontLoader |
fontLoader |
private ch.sahits.game.openpatrician.model.IGame |
game |
private ch.sahits.game.openpatrician.clientserverinterface.model.factory.GameFactory |
gameFactory |
private GameOptionsService |
gameOptions |
private ch.sahits.game.openpatrician.util.l10n.Locale |
locale |
private OpenPatricianSpinner |
lodableGames |
private org.apache.logging.log4j.Logger |
logger |
private org.springframework.context.MessageSource |
messageSource |
private OpenPatricianWoodenTextInput |
newSaveGame |
private OpenPatricianSpinner |
saveableGames |
private SceneChangeable |
sceneChangeable |
private ITrackPlayer |
soundPlayer |
private OpenPatricianSlider |
speed |
private com.google.common.eventbus.AsyncEventBus |
timerEventBus |
private UIFactory |
uiFactory |
| Constructor and Description |
|---|
InGameOptionsScene() |
| Modifier and Type | Method and Description |
|---|---|
private void |
createControls() |
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> |
createLoadAction() |
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> |
createSaveAction(OpenPatricianSpinner saveableGames,
OpenPatricianWoodenTextInput newSaveGame,
OpenPatricianStoneButton back) |
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> |
getBackEvent() |
SceneChangeable |
getSceneChangeable() |
private String |
getStyleSheetFilename() |
void |
handleGameStateChange(ch.sahits.game.event.GameStateChange stateChange) |
private void |
initializeSavedGames()
Initialize the lists that depend on the saved games.
|
void |
initializeState() |
void |
setSceneChangeable(SceneChangeable sceneChangeable) |
private void |
unregister() |
getRoot, heightChange, widthChangeprivate final org.apache.logging.log4j.Logger logger
@Autowired private UIFactory uiFactory
@Autowired private ch.sahits.game.openpatrician.clientserverinterface.model.factory.GameFactory gameFactory
@Autowired private ch.sahits.game.openpatrician.util.l10n.Locale locale
@Autowired private org.springframework.context.MessageSource messageSource
@Autowired private GameOptionsService gameOptions
@Autowired private ch.sahits.game.openpatrician.model.Date date
@Autowired private IFontLoader fontLoader
@Autowired private ITrackPlayer soundPlayer
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
@Autowired @Qualifier(value="timerEventBus") private com.google.common.eventbus.AsyncEventBus timerEventBus
private ch.sahits.game.openpatrician.model.IGame game
private SceneChangeable sceneChangeable
private OpenPatricianSlider speed
private ch.sahits.game.openpatrician.model.EGameSpeed currentSpeed
private OpenPatricianSpinner lodableGames
private OpenPatricianSpinner saveableGames
private OpenPatricianWoodenTextInput newSaveGame
public SceneChangeable getSceneChangeable()
public void setSceneChangeable(SceneChangeable sceneChangeable)
private String getStyleSheetFilename()
@PreDestroy private void unregister()
@PostConstruct private void createControls()
private void initializeSavedGames()
public void initializeState()
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> getBackEvent()
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> createSaveAction(OpenPatricianSpinner saveableGames, OpenPatricianWoodenTextInput newSaveGame, OpenPatricianStoneButton back)
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> createLoadAction()
public void handleGameStateChange(ch.sahits.game.event.GameStateChange stateChange)
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.