summaryrefslogtreecommitdiff
path: root/src/cat/TPTScriptInterface.h
blob: d451a6cd23ef90154021ad5c185512c8bd5404e5 (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
/*
 * 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);
	ValueType testType(std::string word);
public:
	TPTScriptInterface(GameModel * m);
	virtual void Tick() {}
	virtual int Command(std::string command);
	virtual std::string FormatCommand(std::string command);
	virtual ~TPTScriptInterface();
};

#endif /* TPTSCRIPTINTERFACE_H_ */