summaryrefslogtreecommitdiff
path: root/src/userfunction.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-21 02:27:51 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-21 02:27:51 -0700
commitda250b9833e9561a996d11058130e8b7eca2369e (patch)
treecc1598a22411ae91a44c793ab25abf0a4efc2be8 /src/userfunction.h
parentdf412b348f10ee46830e6e117b4bb0dd3b6b057b (diff)
downloadstage-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.h21
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
6class AstNode;
7
8class UserFunction : public Function
9{
10public:
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
17private:
18 Bu::String sName;
19};
20
21#endif