diff options
Diffstat (limited to 'src/scripting/script.hpp')
| -rw-r--r-- | src/scripting/script.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scripting/script.hpp b/src/scripting/script.hpp index 74925e8..2c8481d 100644 --- a/src/scripting/script.hpp +++ b/src/scripting/script.hpp @@ -131,6 +131,11 @@ class Script virtual void processRemoveEvent(Thing* thing) = 0; + /** + * Runs a function in the global event script file + */ + static bool execute_global_event_function(const std::string &function, Being *obj); + static Script* global_event_script; // the global event script protected: |
