diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-08-08 01:21:22 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-08-08 01:21:22 -0300 |
commit | 9865650b43c2a924f5e3ed4ffdaac56c87328756 (patch) | |
tree | f32bb974d4ea39076d830f07ad163da8cae42b68 /modules/gdscript/gd_script.h | |
parent | cfbdeeffec74f9c8c8d7ddac9b31eb32c85ddf89 (diff) |
Added a simpler way to do sub-functions in both visual and gdscript with the subcall node.
With this, visual script is almost done (missing registering custom nodes from addon).
All this is probably pretty broken, too and needs a lot of testing.
Diffstat (limited to 'modules/gdscript/gd_script.h')
-rw-r--r-- | modules/gdscript/gd_script.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.h b/modules/gdscript/gd_script.h index 3634eb796e..28a0df1efd 100644 --- a/modules/gdscript/gd_script.h +++ b/modules/gdscript/gd_script.h @@ -182,6 +182,8 @@ public: bool get_property_default_value(const StringName& p_property,Variant& r_value) const; virtual void get_method_list(List<MethodInfo> *p_list) const; + virtual bool has_method(const StringName& p_method) const; + virtual MethodInfo get_method_info(const StringName& p_method) const; virtual ScriptLanguage *get_language() const; |