Nimbus
0.2
A game... with arrows... which should be clouds
|
#include <RunMode.h>
Public Member Functions | |
virtual void | initialize ()=0 |
virtual RunMode * | run (const Ogre::FrameEvent &evt)=0 |
virtual void | pause ()=0 |
virtual void | stop ()=0 |
Public Attributes | |
Ogre::SceneManager * | mSceneMgr |
Controls the operation of an application in a specific mode. Contains an optional initialization framework if relevant to the run mode.
|
pure virtual |
Sets up all necessary components of the run mode. Should be called before run begins.
Implemented in Nimbus::GameMode.
|
pure virtual |
Pauses the execution of the run mode. Should be called when the run mode needs to take a break.
Implemented in Nimbus::GameMode.
|
pure virtual |
Updates all information in the run mode. Runs a single frame.
evt | An Ogre::FrameEvent storing the amount of time since the last frame. |
Implemented in Nimbus::GameMode.
|
pure virtual |
Stops the execution of the run mode. Should be called after the run completes.
Implemented in Nimbus::GameMode.