Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
AIEditorPanels.h
Go to the documentation of this file.
1/**
2 * @file AIEditorPanels.h
3 * @brief Specialized panels for AI Editor
4 * @author Olympe Engine
5 * @date 2026-02-18
6 *
7 * @details
8 * AI-specific panels:
9 * - BlackboardInspectorPanel: Edit blackboard variables
10 * - SensesDebugPanel: Debug AI senses
11 * - RuntimeDebugPanel: Runtime execution visualization
12 */
13
14#pragma once
15
16#include "../../NodeGraphCore/GraphDocument.h"
17#include <string>
18
19namespace Olympe {
20namespace AI {
21
22/**
23 * @class BlackboardInspectorPanel
24 * @brief Panel for editing blackboard variables
25 */
27public:
30
31 /**
32 * @brief Render the panel
33 * @param activeGraph Active graph document
34 */
36
37private:
40 void RenderVariableEditor(const std::string& varName);
41
43 char m_newVarName[256];
44};
45
46/**
47 * @class SensesDebugPanel
48 * @brief Panel for debugging AI senses
49 */
51public:
53 ~SensesDebugPanel() = default;
54
55 /**
56 * @brief Render the panel
57 */
58 void Render();
59
60private:
62 void RenderSenseDetails();
63 void RenderVisionCone();
65};
66
67/**
68 * @class RuntimeDebugPanel
69 * @brief Panel for runtime execution debugging
70 */
72public:
74 ~RuntimeDebugPanel() = default;
75
76 /**
77 * @brief Render the panel
78 */
79 void Render();
80
81private:
82 void RenderEntityList();
84 void RenderExecutionLog();
86
88};
89
90} // namespace AI
91} // namespace Olympe
ComponentTypeID GetComponentTypeID_Static()
Definition ECS_Entity.h:56
Panel for editing blackboard variables.
void RenderVariableList(NodeGraph::GraphDocument *doc)
void RenderVariableEditor(const std::string &varName)
void Render(NodeGraph::GraphDocument *activeGraph)
Render the panel.
Panel for runtime execution debugging.
void Render()
Render the panel.
Panel for debugging AI senses.
void Render()
Render the panel.
Main document class for a node graph.
< Provides AssetID and INVALID_ASSET_ID