|
Engine
Raylib based game framework
|
Base class for all scenes. More...
#include <SceneManager.h>
Public Member Functions | |
| virtual void | Update (const float deltaT)=0 |
| Updates the scene. | |
| virtual void | Draw ()=0 |
| Renders the scene. | |
| virtual void | OnEnter ()=0 |
| Called by the engine when a scene is entered. | |
| virtual void | OnExit ()=0 |
| Called by the engine when a scene is left. | |
Base class for all scenes.
All scenes must derive from this class, and implement Update, Draw, OnEnter and OnExit.
|
pure virtual |
Renders the scene.
Called after systems
|
pure virtual |
Updates the scene.
Called after systems
| deltaT | Duration of previous frame |