Class ComplexScene

  • All Implemented Interfaces:
    Renderable, Scene, Updatable

    public class ComplexScene
    extends java.lang.Object
    implements Scene
    Scene that is split into a number of subsystems. This is typically needed for scenes that contain a significant amount of functionality, in which case the scene can be split into subsystems, with each subsystem corresponding to a functional area, to manage the scene's complexity.
    • Constructor Detail

      • ComplexScene

        public ComplexScene()
    • Method Detail

      • register

        public void register​(Subsystem subsystem)
      • update

        public void update​(float deltaTime)
        Description copied from interface: Updatable
        Updates this object for the current frame.
        Specified by:
        update in interface Updatable
        Parameters:
        deltaTime - Elapsed time since the last frame, in seconds.