Add code separators

This commit is contained in:
Riyyi
2019-12-21 14:55:33 +01:00
parent 7c8a0c99a4
commit dfbcc0ff0a
2 changed files with 14 additions and 0 deletions
+10
View File
@@ -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;
}
// -----------------------------------------
}
+4
View File
@@ -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;