feat: binding get_behaviour_tree

This commit is contained in:
Sara Gerretsen 2026-03-14 14:59:02 +01:00
parent 4e40c1acdc
commit 3cdfcb1182

View file

@ -7,6 +7,7 @@ void BehaviourNode::_bind_methods() {
BIND_ENUM_CONSTANT(Fail);
BIND_ENUM_CONSTANT(Running);
BIND_ENUM_CONSTANT(Success);
ClassDB::bind_method(D_METHOD("get_behaviour_tree"), &self_type::get_behaviour_tree);
}
void BehaviourNode::_notification(int what) {