diff options
Diffstat (limited to 'src/cat/CommandInterface.cpp')
| -rw-r--r-- | src/cat/CommandInterface.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cat/CommandInterface.cpp b/src/cat/CommandInterface.cpp index 485a029..f146ed4 100644 --- a/src/cat/CommandInterface.cpp +++ b/src/cat/CommandInterface.cpp @@ -11,13 +11,14 @@ #include "CommandInterface.h" #include "game/GameModel.h" -CommandInterface::CommandInterface() { +CommandInterface::CommandInterface(GameModel * m) { + this->m = m; } -void CommandInterface::AttachGameModel(GameModel * m) +/*void CommandInterface::AttachGameModel(GameModel * m) { this->m = m; -} +}*/ int CommandInterface::Command(std::string command) { |
