2025-10-27 09:29:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @esengine/behavior-tree
|
|
|
|
|
|
*
|
2025-11-27 20:42:46 +08:00
|
|
|
|
* AI Behavior Tree System with runtime execution and visual editor support
|
|
|
|
|
|
* AI 行为树系统,支持运行时执行和可视化编辑
|
2025-10-27 09:29:11 +08:00
|
|
|
|
*
|
|
|
|
|
|
* @packageDocumentation
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
2025-11-29 23:00:48 +08:00
|
|
|
|
// Asset type constant for behavior tree
|
|
|
|
|
|
// 行为树资产类型常量
|
|
|
|
|
|
export const BehaviorTreeAssetType = 'behaviortree' as const;
|
|
|
|
|
|
|
2025-11-27 20:42:46 +08:00
|
|
|
|
// Types
|
2025-10-27 09:29:11 +08:00
|
|
|
|
export * from './Types/TaskStatus';
|
|
|
|
|
|
|
2025-11-27 20:42:46 +08:00
|
|
|
|
// Execution (runtime core)
|
|
|
|
|
|
export * from './execution';
|
2025-10-27 09:29:11 +08:00
|
|
|
|
|
2025-11-27 20:42:46 +08:00
|
|
|
|
// Utilities
|
2025-10-27 09:29:11 +08:00
|
|
|
|
export * from './BehaviorTreeStarter';
|
|
|
|
|
|
export * from './BehaviorTreeBuilder';
|
|
|
|
|
|
|
2025-11-27 20:42:46 +08:00
|
|
|
|
// Serialization
|
2025-10-27 09:29:11 +08:00
|
|
|
|
export * from './Serialization/NodeTemplates';
|
|
|
|
|
|
export * from './Serialization/BehaviorTreeAsset';
|
|
|
|
|
|
export * from './Serialization/EditorFormatConverter';
|
2025-10-31 17:27:38 +08:00
|
|
|
|
export * from './Serialization/BehaviorTreeAssetSerializer';
|
2025-11-18 14:46:51 +08:00
|
|
|
|
export * from './Serialization/EditorToBehaviorTreeDataConverter';
|
2025-10-27 09:29:11 +08:00
|
|
|
|
|
2025-11-27 20:42:46 +08:00
|
|
|
|
// Services
|
2025-10-31 17:27:38 +08:00
|
|
|
|
export * from './Services/GlobalBlackboardService';
|
|
|
|
|
|
|
2025-11-27 20:42:46 +08:00
|
|
|
|
// Blackboard types (excluding BlackboardValueType which is already exported from TaskStatus)
|
|
|
|
|
|
export type { BlackboardTypeDefinition } from './Blackboard/BlackboardTypes';
|
|
|
|
|
|
export { BlackboardTypes } from './Blackboard/BlackboardTypes';
|
|
|
|
|
|
|
|
|
|
|
|
// Runtime module (no editor dependencies)
|
|
|
|
|
|
export { BehaviorTreeRuntimeModule } from './BehaviorTreeRuntimeModule';
|
|
|
|
|
|
|
|
|
|
|
|
// Plugin (for PluginManager - includes editor dependencies)
|
|
|
|
|
|
export { BehaviorTreePlugin } from './editor/index';
|