Added copy operators for game's static instance

Player
CommandParser can be swapped but not copied.
This commit is contained in:
2026-08-28 20:38:11 -05:00
parent ef54fa6609
commit 45c365e317
6 changed files with 99 additions and 12 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ int main(int argc, char *argv[]) {
Game game; // Calls default constructor which Initializes GAME
if (!game) {
game.Init();
Game::SetGameInstance(&game);
game = Game::Instance();
}
while (game.GetIsActive()) {
game.Run();