Inheritance diagram for mortic::IScene:

Public Member Functions | |
| IScene (IRoot *root, std::string name) | |
| Constructor. | |
| virtual void | start ()=0 |
| Stop the Scene. | |
| virtual void | stop ()=0 |
| Stop the Scene. | |
| virtual void | run ()=0 |
| Run the Scene. | |
| virtual bool | event (IEvent *e)=0 |
| Handle an Event. | |
Scenes are where all the code actually should be. Right now, they can be equated to runstates. You could have a scene for the menu, configuration, and game. Just subclass this object, and register it with the ISceneManager.
Definition at line 35 of file IScene.h.
|
||||||||||||
|
Constructor.
|
|
|
Handle an Event. Don't call this directly, but call it from ISceneManager.
|
|
|
Run the Scene. Called every frame. Don't call this directly, but call it from ISceneManager. |
|
|
Stop the Scene. Don't call this directly, but call it from ISceneManager. |
|
|
Stop the Scene. Don't call this directly, but call it from ISceneManager. |
1.4.4