|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Public Member Functions | |
| Scene (GameObject *scene_root) | |
| Scene (const Scene &other)=delete | |
| Scene (Scene &&other) noexcept=default | |
| Scene & | operator= (const Scene &other)=delete |
| Scene & | operator= (Scene &&other) noexcept=default |
| const lib::Uuid & | uuid () const |
| Gets the UUID of the Scene. | |
| GameObject * | root () |
| Gets the root GameObject of the Scene. | |
| void | onLoad () |
| Method called when the Scene is loaded. | |
| void | onUpdate (float dt) |
| Method called on every frame. | |
| void | onRender () |
| Method called on every frame after onUpdate to render the Scene. | |
| void | onUnload () |
| Method called when the Scene is unloaded. | |
Public Member Functions inherited from spark::rtti::HasRtti | |
| HasRtti (const HasRtti &other)=default | |
| HasRtti (HasRtti &&other) noexcept=default | |
| HasRtti & | operator= (const HasRtti &other)=default |
| HasRtti & | operator= (HasRtti &&other) noexcept=default |
| virtual RttiBase & | rttiInstance () const =0 |
|
nodiscard |
Gets the root GameObject of the Scene.