/* * Kitty.h * * Created on: Feb 2, 2012 * Author: Simon */ #ifndef KITTY_H_ #define KITTY_H_ #include //#include "game/GameModel.h" class GameModel; class CommandInterface { protected: enum FormatType { FormatInt, FormatString, FormatChar, FormatFloat }; std::string lastError; GameModel * m; public: CommandInterface(); int GetPropertyOffset(std::string key_, FormatType & format); int GetParticleType(std::string type); void AttachGameModel(GameModel * m); virtual void Tick() {} virtual int Command(std::string command); virtual std::string FormatCommand(std::string command); std::string GetLastError(); virtual ~CommandInterface(); }; #endif /* KITTY_H_ */