6 int main(
int argc,
char* argv[])
10 if (argc > 1 && std::string(argv[1]) ==
"demo") {
11 std::cout <<
"Loading demo scene..." << std::endl;
14 std::cout <<
"Loading scenes from JSON..." << std::endl;
int main(int argc, char *argv[])
Manages the main game loop, rendering, and application state.
void runLoop()
The main game loop that runs continuously while the game is active. This loop calls the input,...
void start(bool demo)
Starts the game application, initializing all necessary resources.