public class MainGameScene
extends ch.sahits.game.openpatrician.javafx.OpenPatricianScene
| Constructor | Description |
|---|---|
MainGameScene(double width,
double height,
ch.sahits.game.graphic.image.IImageLoader loader,
IJavaFXControlLoader controlLoader) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
heightChange(double oldHeight,
double newHeigth) |
|
void |
initializeGameView(ch.sahits.game.openpatrician.event.data.NewGameClient newGameDTO) |
Event handler for initializing the new game when the server is done.
|
void |
widthChange(double oldWidth,
double newWidth) |
public MainGameScene(double width,
double height,
ch.sahits.game.graphic.image.IImageLoader loader,
IJavaFXControlLoader controlLoader)
public void initializeGameView(ch.sahits.game.openpatrician.event.data.NewGameClient newGameDTO)
newGameDTO - data transfer object.public void widthChange(double oldWidth,
double newWidth)
widthChange in class ch.sahits.game.openpatrician.javafx.OpenPatricianScenepublic void heightChange(double oldHeight,
double newHeigth)
heightChange in class ch.sahits.game.openpatrician.javafx.OpenPatricianSceneCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.