cleaning up App::config getter and removing App::is_running

This commit is contained in:
Noel Berry
2021-05-09 19:40:50 -07:00
parent c51d397ccc
commit 76525f91c5
6 changed files with 28 additions and 36 deletions

View File

@ -98,16 +98,13 @@ namespace Blah
// Runs the application
bool run(const Config* config);
// Returns whether the application is running
bool is_running();
// Exits the application.
// This only signals for the application to close, it will not stop
// until the current update and render calls are finished.
void exit();
// Gets the config data used to run the application
const Config* config();
const Config& config();
// Gets the working path
const char* path();