ch.sahits.game.openpatrician.display.IOpenPatricianApplicationWindow, ch.sahits.game.openpatrician.display.SceneChangeable@SpringBootApplication
@Import(ch.sahits.game.openpatrician.display.StandaloneConfiguration.class)
public class OpenPatricianApplication
extends javafx.application.Application
implements ch.sahits.game.openpatrician.display.IOpenPatricianApplicationWindow
| Constructor | Description |
|---|---|
OpenPatricianApplication() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
changeScene(ch.sahits.game.openpatrician.javafx.OpenPatricianScene scene) |
|
double |
getSceneHeight() |
|
double |
getSceneWidth() |
|
void |
init() |
|
static void |
main(java.lang.String[] args) |
|
void |
start(javafx.stage.Stage primaryStage) |
|
void |
stop() |
|
void |
updateFullscreenMode() |
Toggle between full screen and non full screen mode.
|
public static void main(java.lang.String[] args)
public void init()
init in class javafx.application.Applicationpublic void start(javafx.stage.Stage primaryStage)
start in class javafx.application.Applicationpublic void changeScene(ch.sahits.game.openpatrician.javafx.OpenPatricianScene scene)
changeScene in interface ch.sahits.game.openpatrician.display.SceneChangeableSceneChangeable.changeScene(OpenPatricianScene)public void updateFullscreenMode()
public double getSceneWidth()
getSceneWidth in interface ch.sahits.game.openpatrician.display.SceneChangeablepublic double getSceneHeight()
getSceneHeight in interface ch.sahits.game.openpatrician.display.SceneChangeablepublic void stop()
throws java.lang.Exception
stop in class javafx.application.Applicationjava.lang.ExceptionCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.