HierarchyComponent.ixx File
Component for parent-child entity relationships. More...
Included Headers
#include <optional>
#include <span>
#include <vector>
#include <helios.engine.ecs.EntityHandle>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | ecs |
|
Core Entity-Component-System architecture. More... | |
| namespace | components |
|
ECS core components for entity relationships. More... | |
Classes Index
| class | HierarchyComponent |
|
Stores parent-child relationships for hierarchical entity graphs. More... | |
Description
Component for parent-child entity relationships.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::engine::ecs::components {
25 class HierarchyComponent {
54 void addChild(const helios::engine::ecs::EntityHandle child) {
63 void setParent(const helios::engine::ecs::EntityHandle parent) {
64 parent_ = parent;
95 void clearDirty() {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.