4 * Created on: Oct 13, 2012
8 #ifndef COMMON_SCRIPTRUNNER_H_
9 #define COMMON_SCRIPTRUNNER_H_
12 #include "../geometry/Vector.h"
25 void Run(ScriptHost &, const Script &);
28 void *Address0() const { return address0; }
29 void *Address1() const { return address1; }
30 int Integer0() const { return integer0; }
31 int Integer1() const { return integer1; }
32 const geometry::Vector<int> &Vector0() const { return vector0; }
33 const geometry::Vector<int> &Vector1() const { return vector1; }
37 void Exec(unsigned char code);
41 const geometry::Vector<int> &PopVector();
43 void Compare(int, int);
60 geometry::Vector<int> vector0;
61 geometry::Vector<int> vector1;
69 #endif /* COMMON_SCRIPTRUNNER_H_ */