6#include "../utils/Common.h"
11 bool fullscreen =
false;
13 unsigned int width = 1280;
14 unsigned int height = 720;
15 unsigned int refresh_rate = 60;
27 bool Load(
const std::string& config_location);
40 std::string config_path_;
Definition ConfigManager.h:19
bool Load(const std::string &config_location)
Loads the config file from a given path, and stores it in the structs of this class.
Definition ConfigManager.cpp:7
bool Save()
Saves the config stored in the current struct to the config location.
Definition ConfigManager.cpp:52
WindowConfig & GetWindowConfig()
Returns the saved config of the window.
Definition ConfigManager.cpp:90
Definition ConfigManager.h:10