mirror of
https://github.com/gongxh0901/kunpocc-behaviortree.git
synced 2025-12-27 00:58:18 +00:00
行为树逻辑调整,删除非记忆的选择和顺序节点
This commit is contained in:
@@ -34,8 +34,8 @@ export class BehaviorTree<T> {
|
||||
/**
|
||||
* 执行行为树
|
||||
*/
|
||||
public tick(): Status {
|
||||
return this._root._execute();
|
||||
public tick(dt: number): Status {
|
||||
return this._root._execute(dt);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user