导出 Status 枚举;导出参数类型;添加条件节点基类

This commit is contained in:
gongxh
2025-09-17 11:05:23 +08:00
parent b582a5d1da
commit b1107805d0
3 changed files with 25 additions and 3 deletions

View File

@@ -7,9 +7,11 @@ export * from "./behaviortree/BTNode/AbstractNodes";
export * from "./behaviortree/BTNode/Action";
export { IBTNode } from "./behaviortree/BTNode/BTNode";
export * from "./behaviortree/BTNode/Composite";
export * from "./behaviortree/BTNode/Condition";
export * from "./behaviortree/BTNode/Decorator";
export { createBehaviorTree } from "./behaviortree/Factory";
export { Status } from "./behaviortree/header";
// 导出装饰器内容
import { BT } from "./behaviortree/BT";
export const { ActionNode, ConditionNode, CompositeNode, DecoratorNode, prop } = BT;
export const { ActionNode, ConditionNode, CompositeNode, DecoratorNode, prop, ParamType } = BT;