summaryrefslogtreecommitdiff
path: root/src/cat/TPTScriptInterface.h
blob: 7cf66c062b1c66a5d0cf0a5cef8e3e7567b24c76 (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
/*
 * 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);
	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_ */