Class SceneChangeService


  • public class SceneChangeService
    extends java.lang.Object
    Service class for scene changing. Created by andi on 02.04.17.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changeScene​(SceneChangeable sceneChangeable, ch.sahits.game.openpatrician.javafx.OpenPatricianScene scene)
      Change the current scene.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SceneChangeService

        public SceneChangeService()
    • Method Detail

      • changeScene

        public void changeScene​(SceneChangeable sceneChangeable,
                                ch.sahits.game.openpatrician.javafx.OpenPatricianScene scene)
        Change the current scene.
        Parameters:
        sceneChangeable - delegate on which the scene will be changed
        scene - new Scene.