mirror of
https://github.com/gongxh0901/kunpocc-behaviortree.git
synced 2025-12-27 00:58:18 +00:00
节点运行状态添加到黑板中;修复黑板清理数据的逻辑
This commit is contained in:
@@ -58,8 +58,6 @@ export class BehaviorTree<T> {
|
||||
* 清空黑板并重置所有节点状态
|
||||
*/
|
||||
public reset(): void {
|
||||
this._blackboard.clear();
|
||||
// 重置所有节点的状态
|
||||
this._root.cleanupAll();
|
||||
this._blackboard.clean();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user