OGL Engine 1.2.0-dev
|
Structure de données qui définit un composant "parent" poru stocker un id vers une entité parente dans la hiérarchie si besoin. More...
#include <hierarchy.hpp>
Public Attributes | |
EntityID | id |
Public Attributes inherited from Engine::ECS::Component | |
bool | enabled = true |
Additional Inherited Members | |
Public Member Functions inherited from Engine::ECS::Component | |
Component ()=default | |
void | SetEntity (Entity e) |
Attache l'entité au component. | |
Entity & | GetEntity () const |
Renvoie l'entité attachée. | |
Registry & | GetRegistry () const |
Renvoie le registre actuel. | |
Scene::Scene & | GetScene () const |
Renvoie la scène en cours. | |
App & | GetApp () const |
Renvoie l'instance d'application. |
Structure de données qui définit un composant "parent" poru stocker un id vers une entité parente dans la hiérarchie si besoin.
EntityID Engine::ECS::Parent::id |