Core class of the engine. Responsible for initializing systems, running the main loop, and shutting down the engine properly.
More...
#include <CoreEngine.hpp>
Core class of the engine. Responsible for initializing systems, running the main loop, and shutting down the engine properly.
◆ CoreEngine()
| Engine::CoreEngine::CoreEngine |
( |
| ) |
|
|
default |
◆ getAssetManager()
Returns the asset manager.
◆ getCamera()
Returns the editor camera.
◆ getDeltaTime()
| float Engine::CoreEngine::getDeltaTime |
( |
| ) |
const |
|
inline |
Returns the delta time between frames.
◆ getInputManager()
Returns the input manager.
◆ getLoggerManager()
Returns the logger manager.
◆ getScene()
| std::shared_ptr< Scene > & Engine::CoreEngine::getScene |
( |
| ) |
|
|
inline |
Returns the active scene.
◆ getTimeManager()
Returns the time manager.
◆ init()
Initializes the engine systems.
- Parameters
-
| app | Reference to the application instance |
◆ isRunning()
| bool Engine::CoreEngine::isRunning |
( |
| ) |
const |
|
inline |
Checks whether the engine is currently running.
- Returns
- True if the engine loop is active
◆ run()
| void Engine::CoreEngine::run |
( |
| ) |
|
Runs the main engine loop. Handles update logic, rendering, and input processing.
◆ SetDeltaTime()
| void Engine::CoreEngine::SetDeltaTime |
( |
float | delta | ) |
|
|
inline |
Sets the delta time between frames.
- Parameters
-
◆ SetScene()
| void Engine::CoreEngine::SetScene |
( |
std::shared_ptr< Scene > | scene | ) |
|
|
inline |
Sets the active scene of the engine.
- Parameters
-
◆ shutdown()
| void Engine::CoreEngine::shutdown |
( |
| ) |
|
Shuts down the engine and releases resources.
The documentation for this class was generated from the following file: