blob: 12240faf424f4ab596d62d4c539ef2df33a5b78a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* TPTScriptInterface.h
*
* Created on: Feb 5, 2012
* Author: Simon
*/
#ifndef TPTSCRIPTINTERFACE_H_
#define TPTSCRIPTINTERFACE_H_
#include "CommandInterface.h"
#include "TPTSTypes.h"
class TPTScriptInterface: public CommandInterface {
protected:
AnyType eval(std::deque<std::string> * words);
AnyType tptS_set(std::deque<std::string> * words);
AnyType tptS_create(std::deque<std::string> * words);
AnyType tptS_delete(std::deque<std::string> * words);
AnyType tptS_load(std::deque<std::string> * words);
AnyType tptS_reset(std::deque<std::string> * words);
AnyType tptS_bubble(std::deque<std::string> * words);
AnyType tptS_quit(std::deque<std::string> * words);
ValueType testType(std::string word);
public:
TPTScriptInterface(GameController * c, GameModel * m);
virtual void Tick() {}
virtual int Command(std::string command);
virtual std::string FormatCommand(std::string command);
virtual ~TPTScriptInterface();
};
#endif /* TPTSCRIPTINTERFACE_H_ */
|