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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cat/CommandInterface.h b/src/cat/CommandInterface.h
index 32b685e..c77d83c 100644
--- a/src/cat/CommandInterface.h
+++ b/src/cat/CommandInterface.h
@@ -17,10 +17,12 @@ protected:
std::string lastError;
GameModel * m;
public:
+ enum LogType { LogError, LogWarning, LogNotice };
enum FormatType { FormatInt, FormatString, FormatChar, FormatFloat };
CommandInterface(GameModel * m);
int GetPropertyOffset(std::string key_, FormatType & format);
int GetParticleType(std::string type);
+ void Log(LogType type, std::string message);
//void AttachGameModel(GameModel * m);
virtual void Tick() {}
virtual int Command(std::string command);