Fixed overcomplicated whoopises
This commit is contained in:
+1
-11
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user