diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-21 02:27:51 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-21 02:27:51 -0700 |
commit | da250b9833e9561a996d11058130e8b7eca2369e (patch) | |
tree | cc1598a22411ae91a44c793ab25abf0a4efc2be8 /src/userfunction.h | |
parent | df412b348f10ee46830e6e117b4bb0dd3b6b057b (diff) | |
download | stage-da250b9833e9561a996d11058130e8b7eca2369e.tar.gz stage-da250b9833e9561a996d11058130e8b7eca2369e.tar.bz2 stage-da250b9833e9561a996d11058130e8b7eca2369e.tar.xz stage-da250b9833e9561a996d11058130e8b7eca2369e.zip |
Game environment is coming together.
Diffstat (limited to 'src/userfunction.h')
-rw-r--r-- | src/userfunction.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/userfunction.h b/src/userfunction.h new file mode 100644 index 0000000..67b96cc --- /dev/null +++ b/src/userfunction.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef USER_FUNCTION_H | ||
2 | #define USER_FUNCTION_H | ||
3 | |||
4 | #include "function.h" | ||
5 | |||
6 | class AstNode; | ||
7 | |||
8 | class UserFunction : public Function | ||
9 | { | ||
10 | public: | ||
11 | UserFunction( const Bu::String &sName, const AstNode &anRoot ); | ||
12 | virtual ~UserFunction(); | ||
13 | |||
14 | virtual Bu::String getName() const; | ||
15 | virtual Variable call( const VariableList &lParams ); | ||
16 | |||
17 | private: | ||
18 | Bu::String sName; | ||
19 | }; | ||
20 | |||
21 | #endif | ||