Package nl.colorize.multimedialib.scene
Class ComplexScene
- java.lang.Object
-
- nl.colorize.multimedialib.scene.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 Summary
Constructors Constructor Description ComplexScene()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SceneContextgetContext()voidregister(Subsystem subsystem)voidrender(GraphicsContext graphics)voidstart(SceneContext context)voidupdate(float deltaTime)Updates this object for the current frame.
-
-
-
Method Detail
-
register
public void register(Subsystem subsystem)
-
start
public void start(SceneContext context)
-
update
public void update(float deltaTime)
Description copied from interface:UpdatableUpdates this object for the current frame.
-
render
public void render(GraphicsContext graphics)
- Specified by:
renderin interfaceRenderable
-
getContext
public SceneContext getContext()
-
-