From aac0acd51e3e0cd055b8b28f693bd56ca300b06a Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sun, 28 Aug 2022 13:07:26 +0200 Subject: [PATCH] Bind get_root() --- limboai/bt_task.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/limboai/bt_task.cpp b/limboai/bt_task.cpp index c19b421..dd2d166 100644 --- a/limboai/bt_task.cpp +++ b/limboai/bt_task.cpp @@ -251,6 +251,7 @@ void BTTask::_bind_methods() { // Public Methods. ClassDB::bind_method(D_METHOD("is_root"), &BTTask::is_root); + ClassDB::bind_method(D_METHOD("get_root"), &BTTask::get_root); ClassDB::bind_method(D_METHOD("initialize", "p_agent", "p_blackboard"), &BTTask::initialize); ClassDB::bind_method(D_METHOD("clone"), &BTTask::clone); ClassDB::bind_method(D_METHOD("execute", "p_delta"), &BTTask::execute);