![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Identity component for entity identification. More...
#include <ECS_Components.h>
Public Member Functions | |
| Identity_data ()=default | |
| Default constructor. | |
| Identity_data (std::string n, std::string t, std::string et) | |
| Construct with name, tag, and type. | |
| Identity_data (const Identity_data &)=default | |
| Copy constructor. | |
| Identity_data & | operator= (const Identity_data &)=default |
| Copy assignment operator. | |
Public Attributes | |
| std::string | name = "Entity" |
| Entity name identifier. | |
| std::string | tag = "Untagged" |
| Entity tag/category for grouping. | |
| std::string | type = "UnknownType" |
| Entity type string (for backward compatibility) | |
| EntityType | entityType = EntityType::None |
| Entity type enum (for layer management) | |
| bool | isPersistent = false |
| Should the entity persist across levels? | |
Identity component for entity identification.
Stores basic entity identification information including name, tag, and type classification.
Definition at line 98 of file ECS_Components.h.
|
default |
Default constructor.
|
inline |
Construct with name, tag, and type.
| n | Entity name |
| t | Entity tag |
| et | Entity type string |
Definition at line 124 of file ECS_Components.h.
|
default |
Copy constructor.
|
default |
Copy assignment operator.
| EntityType Identity_data::entityType = EntityType::None |
Entity type enum (for layer management)
Definition at line 110 of file ECS_Components.h.
Should the entity persist across levels?
Definition at line 113 of file ECS_Components.h.
Referenced by VideoGame::InitializeAITestScene().
| std::string Identity_data::name = "Entity" |
Entity name identifier.
Definition at line 101 of file ECS_Components.h.
Referenced by PrefabFactory::InstantiateIdentity(), Olympe::EntityInspectorManager::OnEntityCreated(), and Olympe::BehaviorTreeDebugWindow::RefreshEntityList().
| std::string Identity_data::tag = "Untagged" |
Entity tag/category for grouping.
Definition at line 104 of file ECS_Components.h.
| std::string Identity_data::type = "UnknownType" |
Entity type string (for backward compatibility)
Definition at line 107 of file ECS_Components.h.