![]() |
FYP
1.0.0
Final Year Project -- Alexander Meuer
|
Interface for scene objects, such as levels and menus. More...
#include <Scene.hpp>


Public Member Functions | |
| virtual bool | handleEvent (sf::Event &Event)=0 |
| virtual void | update (sf::Time const &elapsedTime)=0 |
| virtual void | draw (sf::RenderWindow &w)=0 |
| virtual void | cleanup ()=0 |
Interface for scene objects, such as levels and menus.
|
pure virtual |
Should draw the scene to the renderwindow
| w | The RenderWindow that the scene should be drawn to. |
Implemented in Level, MainMenu, ProfileSelect, LevelSelect, SettingsMenu, and Credits.
|
pure virtual |
| Event | The event to be handled. |
Implemented in Level, MainMenu, ProfileSelect, LevelSelect, SettingsMenu, and Credits.
|
pure virtual |
| elapsedTime | The amount of time that has past since the last time update was called. |
Implemented in Level, MainMenu, ProfileSelect, LevelSelect, SettingsMenu, and Credits.