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/visual_script/visual_script.h | |
parent | cfbdeeffec74f9c8c8d7ddac9b31eb32c85ddf89 (diff) | |
download | redot-engine-9865650b43c2a924f5e3ed4ffdaac56c87328756.tar.gz |
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/visual_script/visual_script.h')
-rw-r--r-- | modules/visual_script/visual_script.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.h b/modules/visual_script/visual_script.h index 88e9ea01d0..786b9b873e 100644 --- a/modules/visual_script/visual_script.h +++ b/modules/visual_script/visual_script.h @@ -322,6 +322,10 @@ public: virtual 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; + + VisualScript(); ~VisualScript(); @@ -470,6 +474,7 @@ public: StringName notification; StringName _get_output_port_unsequenced; StringName _step; + StringName _subcall; static VisualScriptLanguage* singleton; |