summaryrefslogtreecommitdiff
path: root/src/cat/CommandInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/CommandInterface.h')
-rw-r--r--src/cat/CommandInterface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cat/CommandInterface.h b/src/cat/CommandInterface.h
index e89632e..e6119d3 100644
--- a/src/cat/CommandInterface.h
+++ b/src/cat/CommandInterface.h
@@ -13,14 +13,16 @@
//#include "game/GameModel.h"
class GameModel;
+class GameController;
class CommandInterface {
protected:
std::string lastError;
GameModel * m;
+ GameController * c;
public:
enum LogType { LogError, LogWarning, LogNotice };
enum FormatType { FormatInt, FormatString, FormatChar, FormatFloat };
- CommandInterface(GameModel * m);
+ CommandInterface(GameController * c, GameModel * m);
int GetPropertyOffset(std::string key_, FormatType & format);
int GetParticleType(std::string type);
void Log(LogType type, std::string message);