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

This commit is contained in:
Noel Berry committed 2021-05-09 19:40:50 -07:00
1 parent c51d397ccc
commit 76525f91c5
6 files changed
+28 -36

No files matched your search

+1 -4
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();