"""
行为树插件__init__.py
"""

# 导入主要的类和函数，方便外部使用
from .plugin import Plugin
from .core.behavior_tree import (
    BTNode, NodeStatus, BehaviorTree, 
    BTNodeConfig, NodeMemory, BehaviorTreeManager
)
from .core.blackboard import Blackboard, BlackboardManager
from .nodes.control_nodes import (
    SelectorNode, SequenceNode, ParallelNode,
    RandomSelectorNode, PrioritySelectorNode
)
from .nodes.decorator_nodes import (
    RepeaterNode, InverterNode, SucceederNode, 
    FailureNode, TimerNode, CooldownNode, RandomizerNode
)
from .nodes.leaf_nodes import (
    ConditionNode, ActionNode, WaitNode, 
    SubtreeNode, ProbabilityNode, CounterNode, TimeoutNode
)

# 定义插件类，保持与plugin.py中的一致
Plugin = Plugin