public class StartupScene extends BaseStartupScene
NewGameSceneLoadGameSceneGameOptionsSceneBaseStartupScene.LabelHoverChangeListener| Modifier and Type | Field and Description |
|---|---|
private javafx.scene.layout.Pane |
labelShapes |
private ch.sahits.game.openpatrician.util.l10n.Locale |
locale |
private org.apache.logging.log4j.Logger |
logger |
private org.springframework.context.MessageSource |
messageSource |
private ch.sahits.game.openpatrician.plugin.PluginLoader |
pluginLoader |
private IPolygonLoader |
polygonLoader |
private UIFactory |
uiFactory |
private javafx.scene.layout.VBox |
verticalLayout |
private boolean |
withPolygonShading |
imgHeigth, imgWidth, paperScroll, untransformedHeight, untransformedWidth| Constructor and Description |
|---|
StartupScene() |
| Modifier and Type | Method and Description |
|---|---|
private javafx.scene.shape.Polygon |
createPolygonShape(String polygonName)
Create the polygon using the polygon loader.
|
protected String |
getStyleSheetFilename()
Define the stylesheet name to be applied for this scene.
|
void |
heightChange(double oldHeight,
double newHeigth) |
private void |
setUpScene() |
void |
widthChange(double oldWidth,
double newWidth) |
changeScene, createBaseSceneLayout, createPerspectiveTransform, getSceneChangeable, setSceneChangeablegetRootprivate final org.apache.logging.log4j.Logger logger
@Autowired private IPolygonLoader polygonLoader
@Autowired private ch.sahits.game.openpatrician.util.l10n.Locale locale
@Autowired private org.springframework.context.MessageSource messageSource
private boolean withPolygonShading
@Autowired private UIFactory uiFactory
@Autowired private ch.sahits.game.openpatrician.plugin.PluginLoader pluginLoader
private javafx.scene.layout.Pane labelShapes
private javafx.scene.layout.VBox verticalLayout
protected String getStyleSheetFilename()
BaseStartupScenegetStyleSheetFilename in class BaseStartupScene@PostConstruct private final void setUpScene()
private javafx.scene.shape.Polygon createPolygonShape(String polygonName)
polygonName - name of the polygonpublic void heightChange(double oldHeight,
double newHeigth)
heightChange in class OpenPatricianScenepublic void widthChange(double oldWidth,
double newWidth)
widthChange in class OpenPatricianSceneCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.