Merge pull request #67 from Rubonnek/expose-btview-clear
Expose `BehaviorTreeView::clear` to GDScript
This commit is contained in:
commit
e182a56f7e
|
@ -9,6 +9,12 @@
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
<methods>
|
<methods>
|
||||||
|
<method name="clear">
|
||||||
|
<return type="void" />
|
||||||
|
<description>
|
||||||
|
Clears the tree view.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="update_tree">
|
<method name="update_tree">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<param index="0" name="behavior_tree_data" type="BehaviorTreeData" />
|
<param index="0" name="behavior_tree_data" type="BehaviorTreeData" />
|
||||||
|
|
|
@ -312,6 +312,7 @@ void BehaviorTreeView::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("_draw_failure_status"), &BehaviorTreeView::_draw_failure_status);
|
ClassDB::bind_method(D_METHOD("_draw_failure_status"), &BehaviorTreeView::_draw_failure_status);
|
||||||
ClassDB::bind_method(D_METHOD("_item_collapsed"), &BehaviorTreeView::_item_collapsed);
|
ClassDB::bind_method(D_METHOD("_item_collapsed"), &BehaviorTreeView::_item_collapsed);
|
||||||
ClassDB::bind_method(D_METHOD("update_tree", "behavior_tree_data"), &BehaviorTreeView::update_tree);
|
ClassDB::bind_method(D_METHOD("update_tree", "behavior_tree_data"), &BehaviorTreeView::update_tree);
|
||||||
|
ClassDB::bind_method(D_METHOD("clear"), &BehaviorTreeView::clear);
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("set_update_interval_msec", "interval_msec"), &BehaviorTreeView::set_update_interval_msec);
|
ClassDB::bind_method(D_METHOD("set_update_interval_msec", "interval_msec"), &BehaviorTreeView::set_update_interval_msec);
|
||||||
ClassDB::bind_method(D_METHOD("get_update_interval_msec"), &BehaviorTreeView::get_update_interval_msec);
|
ClassDB::bind_method(D_METHOD("get_update_interval_msec"), &BehaviorTreeView::get_update_interval_msec);
|
||||||
|
|
Loading…
Reference in New Issue