The main engine class responsible for initializing and managing the game engine components.
More...
#include <CEngine.h>
|
|
| CEngine ()=default |
| | Default constructor.
|
| |
|
| ~CEngine ()=default |
| | Default destructor.
|
| |
| void | Init (const std::string &path, std::vector< Level * > pLevels) |
| | Initializes the engine with the specified parameters.
|
| |
| void | Update () |
| | Updates the engine state.
|
| |
|
void | Close () |
| | Closes the engine and releases all resources.
|
| |
| RendererGL * | GetRenderer () const |
| | Gets the renderer instance.
|
| |
| bool | isEditorMode () const |
| | Checks if the engine is running in editor mode.
|
| |
| LevelManager * | GetLevelManager () const |
| | Gets the level manager instance.
|
| |
The main engine class responsible for initializing and managing the game engine components.
◆ GetLevelManager()
Gets the level manager instance.
- Returns
- A pointer to the level manager instance.
◆ GetRenderer()
Gets the renderer instance.
- Returns
- A pointer to the renderer instance.
◆ Init()
| void CEngine::Init |
( |
const std::string & | path, |
|
|
std::vector< Level * > | pLevels ) |
Initializes the engine with the specified parameters.
- Parameters
-
| path | The path to the configuration or resource directory. |
| pLevels | The levels to be managed by the level manager. |
◆ isEditorMode()
| bool clt::CEngine::isEditorMode |
( |
| ) |
const |
|
inline |
Checks if the engine is running in editor mode.
- Returns
- True if editor mode is enabled, false otherwise.
◆ Update()
Updates the engine state.
This function should be called every frame to update all engine subsystems.
The documentation for this class was generated from the following files:
- D:/DEV JEUX/2025/CPP/Opengl/ClutterEngineOpenGL/ClutterEngine/Engine/Core/CEngine.h
- D:/DEV JEUX/2025/CPP/Opengl/ClutterEngineOpenGL/ClutterEngine/Engine/Core/CEngine.cpp