Class LoadGameScene
- java.lang.Object
-
- ch.sahits.game.openpatrician.javafx.OpenPatricianScene
-
- ch.sahits.game.openpatrician.display.scene.BaseStartupScene
-
- ch.sahits.game.openpatrician.display.scene.LoadGameScene
-
public class LoadGameScene extends BaseStartupScene
Scene for initally selecting a savegame, load it and start it.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.sahits.game.openpatrician.display.scene.BaseStartupScene
BaseStartupScene.LabelHoverChangeListener
-
-
Field Summary
-
Fields inherited from class ch.sahits.game.openpatrician.display.scene.BaseStartupScene
paperScroll, untransformedHeight, untransformedWidth
-
-
Constructor Summary
Constructors Constructor Description LoadGameScene()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeScene(ch.sahits.game.openpatrician.javafx.OpenPatricianScene scene)SceneChangeablegetSceneChangeable()protected java.lang.StringgetStyleSheetFilename()Define the stylesheet name to be applied for this scene.voidhandleGameStateChange(ch.sahits.game.openpatrician.event.GameStateChange stateChange)voidsetSceneChangeable(SceneChangeable sceneChangeable)-
Methods inherited from class ch.sahits.game.openpatrician.display.scene.BaseStartupScene
createBaseSceneLayout, createPerspectiveTransform
-
-
-
-
Method Detail
-
getSceneChangeable
public SceneChangeable getSceneChangeable()
- Overrides:
getSceneChangeablein classBaseStartupScene
-
setSceneChangeable
public void setSceneChangeable(SceneChangeable sceneChangeable)
- Overrides:
setSceneChangeablein classBaseStartupScene
-
getStyleSheetFilename
protected java.lang.String getStyleSheetFilename()
Description copied from class:BaseStartupSceneDefine the stylesheet name to be applied for this scene.- Specified by:
getStyleSheetFilenamein classBaseStartupScene- Returns:
- file name for the style sheet.
-
handleGameStateChange
public void handleGameStateChange(ch.sahits.game.openpatrician.event.GameStateChange stateChange)
-
changeScene
public void changeScene(ch.sahits.game.openpatrician.javafx.OpenPatricianScene scene)
- Overrides:
changeScenein classBaseStartupScene
-
-