Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Olympe::AI::BlackboardInspectorPanel Class Reference

Panel for editing blackboard variables. More...

#include <AIEditorPanels.h>

Public Member Functions

 BlackboardInspectorPanel ()
 
 ~BlackboardInspectorPanel ()=default
 
void Render (NodeGraph::GraphDocument *activeGraph)
 Render the panel.
 

Private Member Functions

void RenderVariableList (NodeGraph::GraphDocument *doc)
 
void RenderAddVariableDialog ()
 
void RenderVariableEditor (const std::string &varName)
 

Private Attributes

bool m_showAddDialog
 
char m_newVarName [256]
 

Detailed Description

Panel for editing blackboard variables.

Definition at line 26 of file AIEditorPanels.h.

Constructor & Destructor Documentation

◆ BlackboardInspectorPanel()

Olympe::AI::BlackboardInspectorPanel::BlackboardInspectorPanel ( )

Definition at line 20 of file AIEditorPanels.cpp.

References m_newVarName.

◆ ~BlackboardInspectorPanel()

Olympe::AI::BlackboardInspectorPanel::~BlackboardInspectorPanel ( )
default

Member Function Documentation

◆ Render()

void Olympe::AI::BlackboardInspectorPanel::Render ( NodeGraph::GraphDocument activeGraph)

Render the panel.

Parameters
activeGraphActive graph document

Definition at line 26 of file AIEditorPanels.cpp.

References GetComponentTypeID_Static(), m_showAddDialog, RenderAddVariableDialog(), and RenderVariableList().

+ Here is the call graph for this function:

◆ RenderAddVariableDialog()

void Olympe::AI::BlackboardInspectorPanel::RenderAddVariableDialog ( )
private

Definition at line 56 of file AIEditorPanels.cpp.

References m_newVarName, m_showAddDialog, and SYSTEM_LOG.

Referenced by Render().

+ Here is the caller graph for this function:

◆ RenderVariableEditor()

void Olympe::AI::BlackboardInspectorPanel::RenderVariableEditor ( const std::string &  varName)
private

Definition at line 78 of file AIEditorPanels.cpp.

References GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ RenderVariableList()

void Olympe::AI::BlackboardInspectorPanel::RenderVariableList ( NodeGraph::GraphDocument doc)
private

Definition at line 49 of file AIEditorPanels.cpp.

References GetComponentTypeID_Static().

Referenced by Render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_newVarName

char Olympe::AI::BlackboardInspectorPanel::m_newVarName[256]
private

Definition at line 43 of file AIEditorPanels.h.

Referenced by BlackboardInspectorPanel(), and RenderAddVariableDialog().

◆ m_showAddDialog

bool Olympe::AI::BlackboardInspectorPanel::m_showAddDialog
private

Definition at line 42 of file AIEditorPanels.h.

Referenced by Render(), and RenderAddVariableDialog().


The documentation for this class was generated from the following files: