Fixed overcomplicated whoopises
This commit is contained in:
@@ -22,13 +22,6 @@ public:
|
||||
std::vector<std::string> Verb(std::stringstream &sentences);
|
||||
std::vector<std::string> Noun(std::stringstream &sentences);
|
||||
|
||||
inline friend void swap(CommandParser& lhs, CommandParser& rhs)
|
||||
{
|
||||
using std::swap;
|
||||
swap(lhs.commands, rhs.commands);
|
||||
}
|
||||
|
||||
|
||||
static inline void CommandUnrecognized() { printf("I don't know how to do that.\n"); }
|
||||
int Parse();
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user