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
+2 -9
View File
@@ -38,8 +38,6 @@ private:
public:
Game();
Game(Game& rhs);
Game& operator=(Game& rhs);
inline bool GetIsActive() const { return isActive; }
bool Init();
@@ -66,13 +64,8 @@ public:
return *game_;
}
inline friend void swap(Game &lhs, Game &rhs)
{
using std::swap;
swap(lhs.isActive, rhs.isActive);
swap(lhs.progress, rhs.progress);
swap(lhs.player, rhs.player);
swap(lhs.parser, rhs.parser);
static void SetGameInstance(Game * g) {
game_ = g;
}
~Game();