yaarq.dmo
Class yrqDemoSceneSpace

java.lang.Object
  |
  +--yaarq.dmo.yrqDemoScene
        |
        +--yaarq.dmo.yrqDemoSceneSpace

public class yrqDemoSceneSpace
extends yrqDemoScene

This class extends the yrqDemoScene class to provide all necessary support for loading, initialising and displaying the space scene.

TODO: Nothing


Method Summary
static yrqDemoSceneSpace getInstance()
          This function retrieves the one and only existing instance of the scene class which is internally created and kept.
 void initialise(yrqEngine a_engine)
          This method initialises the scene by adding all its objects to the engines various collections and setting its internal parameters.
 boolean isFinished()
          This method returns if the scene instance is finished and can be terminated.
 void load(yrqRepository a_repository)
          This method loads all necessary ressources into the repository.
 void update(yrqEngine a_engine)
          This method update the scene by manipulating all its objects in the engines various collections and setting its internal parameters.
 
Methods inherited from class yaarq.dmo.yrqDemoScene
terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static yrqDemoSceneSpace getInstance()
This function retrieves the one and only existing instance of the scene class which is internally created and kept.


initialise

public void initialise(yrqEngine a_engine)
This method initialises the scene by adding all its objects to the engines various collections and setting its internal parameters.

Specified by:
initialise in class yrqDemoScene
Parameters:
a_engine - The engine instance to use

isFinished

public boolean isFinished()
This method returns if the scene instance is finished and can be terminated.

Specified by:
isFinished in class yrqDemoScene

load

public void load(yrqRepository a_repository)
This method loads all necessary ressources into the repository. Called once, during the engines load callback to the application.

Specified by:
load in class yrqDemoScene
Parameters:
a_repository - The repository into which to load

update

public void update(yrqEngine a_engine)
This method update the scene by manipulating all its objects in the engines various collections and setting its internal parameters.

Specified by:
update in class yrqDemoScene
Parameters:
a_engine - The engine instance to use