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

#include <NodeGraphManager.h>

Public Member Functions

 GraphNode ()=default
 
 GraphNode (int nodeId, NodeType nodeType, const std::string &nodeName="")
 

Public Attributes

int id = 0
 
NodeType type = NodeType::BT_Action
 
std::string name
 
float posX = 0.0f
 
float posY = 0.0f
 
std::string actionType
 
std::string conditionType
 
std::string decoratorType
 
std::map< std::string, std::string > parameters
 
std::vector< intchildIds
 
int decoratorChildId = -1
 

Detailed Description

Definition at line 68 of file NodeGraphManager.h.

Constructor & Destructor Documentation

◆ GraphNode() [1/2]

Olympe::GraphNode::GraphNode ( )
default

◆ GraphNode() [2/2]

Olympe::GraphNode::GraphNode ( int  nodeId,
NodeType  nodeType,
const std::string &  nodeName = "" 
)
inline

Definition at line 95 of file NodeGraphManager.h.

Member Data Documentation

◆ actionType

std::string Olympe::GraphNode::actionType

◆ childIds

std::vector<int> Olympe::GraphNode::childIds

◆ conditionType

std::string Olympe::GraphNode::conditionType

Definition at line 80 of file NodeGraphManager.h.

Referenced by Olympe::NodeGraphPanel::RenderGraph().

◆ decoratorChildId

int Olympe::GraphNode::decoratorChildId = -1

◆ decoratorType

std::string Olympe::GraphNode::decoratorType

Definition at line 83 of file NodeGraphManager.h.

Referenced by Olympe::NodeGraphPanel::RenderGraph().

◆ id

int Olympe::GraphNode::id = 0

◆ name

std::string Olympe::GraphNode::name

◆ parameters

std::map<std::string, std::string> Olympe::GraphNode::parameters

Definition at line 86 of file NodeGraphManager.h.

◆ posX

float Olympe::GraphNode::posX = 0.0f

Definition at line 73 of file NodeGraphManager.h.

◆ posY

float Olympe::GraphNode::posY = 0.0f

Definition at line 74 of file NodeGraphManager.h.

◆ type

NodeType Olympe::GraphNode::type = NodeType::BT_Action

Definition at line 71 of file NodeGraphManager.h.

Referenced by Olympe::NodeGraph::LinkNodes().


The documentation for this struct was generated from the following file: