public class LoadGameScene extends BaseStartupScene
BaseStartupScene.LabelHoverChangeListener| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private ch.sahits.game.openpatrician.model.IGame |
game |
private ch.sahits.game.openpatrician.model.Date |
gameDate |
private ch.sahits.game.openpatrician.model.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 SceneChangeable |
sceneChangeable |
private com.google.common.eventbus.AsyncEventBus |
timerEventBus |
private UIFactory |
uiFactory |
imgHeigth, imgWidth, paperScroll, untransformedHeight, untransformedWidth| Constructor and Description |
|---|
LoadGameScene() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeScene(OpenPatricianScene scene) |
private void |
createControls() |
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> |
createLoadAction() |
SceneChangeable |
getSceneChangeable() |
protected String |
getStyleSheetFilename()
Define the stylesheet name to be applied for this scene.
|
void |
handleGameStateChange(ch.sahits.game.event.GameStateChange stateChange) |
void |
setSceneChangeable(SceneChangeable sceneChangeable) |
private void |
unregister() |
createBaseSceneLayout, createPerspectiveTransformgetRoot, heightChange, widthChangeprivate final org.apache.logging.log4j.Logger logger
@Autowired private UIFactory uiFactory
@Autowired private ch.sahits.game.openpatrician.model.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 gameDate
@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 OpenPatricianSpinner lodableGames
public SceneChangeable getSceneChangeable()
getSceneChangeable in class BaseStartupScenepublic void setSceneChangeable(SceneChangeable sceneChangeable)
setSceneChangeable in class BaseStartupSceneprotected String getStyleSheetFilename()
BaseStartupScenegetStyleSheetFilename in class BaseStartupScene@PreDestroy private void unregister()
@PostConstruct private void createControls()
public void handleGameStateChange(ch.sahits.game.event.GameStateChange stateChange)
private javafx.event.EventHandler<javafx.scene.input.MouseEvent> createLoadAction()
public void changeScene(OpenPatricianScene scene)
changeScene in class BaseStartupSceneCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.