VEGO-Engine  0.1
Loading...
Searching...
No Matches
ConfigLoader Class Reference

Enables configuration of specific engine variables via a custom JSON file. More...

#include <ConfigLoader.h>

Detailed Description

Enables configuration of specific engine variables via a custom JSON file.

The Config loader is responsible to handling customization for engine parameters like the window icon, window title, ... through json files.

It includes a standard config file and the option to add a custom one by overwriting the setConfigFilePath() function within the implementation of the Game class. Those files get merged, with a priorization on the parameters set within the custom config file.

The currently available config parameters with their default values are:

{
"fullscreen": false,
"title": "VGG (Very Good Game)",
"screen_height": 600,
"screen_width": 800,
"icon": "./engine/internalAssets/iconImage.bmp"
}

The documentation for this class was generated from the following files: