Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Namespaces
BehaviorTreeGraphAdapter.h File Reference

Adapter layer for converting BehaviorTree graphs to generic TaskGraphTemplate format. More...

#include <string>
#include <vector>
#include <map>
#include <memory>
#include <cstdint>
#include "../AI/BehaviorTree.h"
#include "../TaskSystem/TaskGraphTemplate.h"
#include "../BlueprintEditor/GraphExecutionTracer.h"
+ Include dependency graph for BehaviorTreeGraphAdapter.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Olympe::BehaviorTreeGraphAdapter
 Converts BehaviorTree structures to generic TaskGraphTemplate format for simulation. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Adapter layer for converting BehaviorTree graphs to generic TaskGraphTemplate format.

Author
Olympe Engine
Date
2026-03-24

Implements the Adapter pattern to convert hierarchical BehaviorTree structures into a flat graph representation compatible with the generic GraphExecutionSimulator framework. This eliminates code duplication and enables both VisualScript and BehaviorTree to share the same simulation infrastructure.

Phase: BT-SIM-001 (BehaviorTree Graph Simulation - Framework Generic) C++14 compliant - no C++17/20 features.

Definition in file BehaviorTreeGraphAdapter.h.