Class SceneWrapper

  • All Implemented Interfaces:
    Scene

    public class SceneWrapper
    extends java.lang.Object
    implements Scene
    Wraps an update and/or render callback into a Scene.
    • Method Detail

      • start

        public void start​(Application app)
        Description copied from interface: Scene
        Initiallization logic that should be performed every time the scene is started. This method is called by the application that contains the scene.
        Specified by:
        start in interface Scene
      • update

        public void update​(Application app,
                           float deltaTime)
        Specified by:
        update in interface Scene