#include <Engine.h>
|
| static auto | shutdown (int code) -> void |
| template<std::derived_from< System > system> |
| static auto | getSystem () -> system * |
| | A function to get a system.
|
| static auto | getRoot () -> Root * |
◆ Engine() [1/2]
◆ Engine() [2/2]
| Engine::Engine |
( |
Engine & | other | ) |
|
|
delete |
◆ ~Engine()
◆ getRoot()
| auto Engine::getRoot |
( |
| ) |
->Root * |
|
inlinestatic |
◆ getSingleton()
| auto Engine::getSingleton |
( |
| ) |
->Engine * |
|
staticprivate |
◆ getSystem()
template<std::derived_from<
System > system>
| auto Engine::getSystem |
( |
| ) |
->system * |
|
inlinestatic |
A function to get a system.
Currently will be quite inefficient if any Systems have many children, (e.g. Action, Scene)
- Template Parameters
-
| system | The type of system to return |
- Parameters
-
| typeId | the ID of the system to return |
- Returns
- a pointer to the system requested
◆ run()
| auto Engine::run |
( |
| ) |
->int |
◆ shutdown()
| auto Engine::shutdown |
( |
int | code | ) |
->void |
|
static |
◆ lastFrameTime
| double Engine::lastFrameTime {0} |
|
private |
◆ root
◆ rootNode
◆ shouldShutdown
| bool Engine::shouldShutdown {false} |
|
private |
◆ shutdownCode
| int Engine::shutdownCode {0} |
|
private |
The documentation for this class was generated from the following files:
- /home/egrazil/sites/Brunot/The House/source/Framework/Engine.h
- /home/egrazil/sites/Brunot/The House/source/Framework/Engine.cpp