refactor: merge final cleanups before working on AI #6

Merged
Trianta merged 12 commits from refactor into master 2024-08-10 15:05:56 -05:00
2 changed files with 11 additions and 8 deletions
Showing only changes of commit b9b771bc1c - Show all commits

View File

@ -39,4 +39,6 @@ private:
double average = 0; double average = 0;
}; };
inline std::unique_ptr<GameEngine> g_pEngine;
#endif #endif

View File

@ -1,8 +1,9 @@
#include "gamestate.hpp" #include "gamestate.hpp"
#include <memory>
int main(void) int main(void)
{ {
GameEngine game; g_pEngine = std::make_unique<GameEngine>();
game.Start(); g_pEngine->Start();
return 0; return 0;
} }