-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathindex.ts
More file actions
43 lines (37 loc) · 1 KB
/
index.ts
File metadata and controls
43 lines (37 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// 主入口文件 - 导出所有模块
// 用户可以选择导入全部或按需导入特定模块
// 核心工具
export * from './core/index';
// 行为树模块
export * as BehaviourTree from './behaviourTree/index';
// 状态机模块
export * as FSM from './fsm/index';
// 效用AI模块
export * as UtilityAI from './utilityAI/index';
// 默认导出(向后兼容)
export {
BehaviorTree,
BehaviorTreeBuilder,
TaskStatus,
Blackboard,
BlackboardValueType,
BehaviorTreeJSONConfig,
BehaviorTreeNodeConfig,
BlackboardVariableConfig,
ExecutionContext,
BehaviorTreeBuildResult,
AbortTypes
} from './behaviourTree/index';
// 事件系统导出
export {
EventRegistry,
GlobalEventRegistry,
IEventHandler,
IConditionChecker,
IBehaviorTreeContext,
ActionResult,
ActionHandler,
ConditionChecker
} from './behaviourTree/events';
export { StateMachine, State } from './fsm/index';
export { UtilityAI as UtilityAICore } from './utilityAI/index';