|
static Engine * | getInstance () |
|
static void | renderImGui (bool &cheatMode) |
|
static void | clearImGui () |
|
static bool | ShowCheckBox (const std::string &label, bool *value) |
|
static bool | InputFloat (const std::string &label, float *value) |
|
static bool | InputInt (const std::string &label, int *value) |
|
static bool | InputText (const std::string &label, char *value, int bufferSize) |
|
static bool | Button (const std::string &label) |
|
◆ closeWindow()
void Engine::closeWindow |
( |
| ) |
|
Close the game window
Clears the SDL_Window pointer in the Engine class and calls SDL_DestroyWindow & SDL_Quit.
◆ initWindow()
void Engine::initWindow |
( |
int |
SCREEN_WIDTH, |
|
|
int |
SCREEN_HEIGHT |
|
) |
| |
Initialize the game window
Stores a SDL_Window pointer in the Engine class.
- Parameters
-
SCREEN_WIDTH | The width of the window. |
SCREEN_HEIGHT | The height of the window. |
The documentation for this class was generated from the following files: