Fixed overcomplicated whoopises

This commit is contained in:
2026-08-28 20:53:04 -05:00
parent 45c365e317
commit 15f0e369b2
4 changed files with 5 additions and 28 deletions
+1 -11
View File
@@ -49,17 +49,6 @@ bool Game::Init() {
return true;
}
Game::Game(Game &rhs)
{
player = rhs.player;
progress = rhs.progress;
}
Game& Game::operator=(Game &rhs)
{
swap(*this, rhs);
return *this;
}
void Game::Run() {
while (isActive) {
@@ -83,6 +72,7 @@ void Game::ChangeRoom(Room r) {
}
int Quit(const std::string &n) {
printf("Bye Bye! \nb");
Game::Instance().SetIsActive(false);
return 0;
}