![]() |
Blamite Game Engine - Sapien (Library)
00390.07.02.23.1947.blamite
The level editor application for the Blamite Game Engine.
|
Base class for hierarchy nodes. More...
#include <hierarchy.h>
Inheritance diagram for BlamScenarioHierarchyNode:
Collaboration diagram for BlamScenarioHierarchyNode:Public Member Functions | |
| BlamScenarioHierarchyNode (BlamScenarioHierarchyNodeType _node_type) | |
| BlamScenarioHierarchyNode (BlamScenarioHierarchyNodeType _node_type, std::string _display_name_override) | |
| virtual | ~BlamScenarioHierarchyNode () |
| BlamScenarioHierarchyNodeType | GetType () |
| virtual std::string | GetName () |
| Retrieves the display name of the hierarchy node. More... | |
Public Attributes | |
| BlamScenarioHierarchyNode * | parent_node = nullptr |
| The parent node, if any, of this hierarchy node. More... | |
Protected Attributes | |
| bool | use_custom_name = false |
| Whether or not to use a custom display name for the node. More... | |
| std::string | display_name_override = "unspecified" |
| The custom display name of this hierarchy node. More... | |
Base class for hierarchy nodes.
| BlamScenarioHierarchyNode::BlamScenarioHierarchyNode | ( | BlamScenarioHierarchyNodeType | _node_type | ) |
| BlamScenarioHierarchyNode::BlamScenarioHierarchyNode | ( | BlamScenarioHierarchyNodeType | _node_type, |
| std::string | _display_name_override | ||
| ) |
|
inlinevirtual |
|
virtual |
Retrieves the display name of the hierarchy node.
Reimplemented in BlamScenarioHierarchyNode_Object.
Here is the caller graph for this function:| BlamScenarioHierarchyNodeType BlamScenarioHierarchyNode::GetType | ( | ) |
Here is the caller graph for this function:
|
protected |
The custom display name of this hierarchy node.
In the case of objects, this name will only be used if use_custom_name is set to true. In the case of groups, this name is always used regardless of the use_custom_name value.
| BlamScenarioHierarchyNode* BlamScenarioHierarchyNode::parent_node = nullptr |
The parent node, if any, of this hierarchy node.
|
protected |
Whether or not to use a custom display name for the node.