Add code separators
This commit is contained in:
@@ -25,7 +25,14 @@ namespace Inferno {
|
||||
this->destroy();
|
||||
}
|
||||
|
||||
// -----------------------------------------
|
||||
|
||||
void Settings::initialize()
|
||||
{
|
||||
this->update();
|
||||
}
|
||||
|
||||
void Settings::update()
|
||||
{
|
||||
nlohmann::json json = this->load();
|
||||
|
||||
@@ -72,4 +79,7 @@ namespace Inferno {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// -----------------------------------------
|
||||
|
||||
}
|
||||
|
||||
@@ -16,7 +16,11 @@ namespace Inferno {
|
||||
Settings(const char* path = "assets/settings.json");
|
||||
virtual ~Settings();
|
||||
|
||||
// -----------------------------------------
|
||||
|
||||
void initialize();
|
||||
void update();
|
||||
// void render();
|
||||
void destroy();
|
||||
|
||||
nlohmann::json load() const;
|
||||
|
||||
Reference in New Issue
Block a user