#ifndef AST_FUNCTION_H #define AST_FUNCTION_H #include "function.h" class AstFunction : public Function { public: AstFunction( const Bu::String &sName ); virtual ~AstFunction(); virtual Bu::String getName() const { return sName; } virtual Variable call( class GameState &gState ); void addParam( const Bu::String &sName ); const Bu::StringList &getParamList() { return lParam; } void setAst( class AstBranch *pAst ); private: Bu::String sName; Bu::StringList lParam; class AstBranch *pAst; }; #endif