ecs work
This commit is contained in:
@@ -82,4 +82,20 @@ void sceneTreeChildRemoveAll(const ecsid_t parent);
|
||||
* @param child The ID of the child scene item to check.
|
||||
* @return True if the child is in the parent's children, false otherwise.
|
||||
*/
|
||||
bool_t sceneTreeChildInTree(const ecsid_t parent, const ecsid_t child);
|
||||
bool_t sceneTreeChildInTree(const ecsid_t parent, const ecsid_t child);
|
||||
|
||||
/**
|
||||
* Callback for when an entity is added to the ECS.
|
||||
* This will initialize the scene tree data for the entity.
|
||||
*
|
||||
* @param id The ID of the entity being added.
|
||||
*/
|
||||
void sceneTreeEntityAdded(const ecsid_t id);
|
||||
|
||||
/**
|
||||
* Callback for when an entity is removed from the ECS.
|
||||
* This will clean up any scene tree data associated with the entity.
|
||||
*
|
||||
* @param id The ID of the entity being removed.
|
||||
*/
|
||||
void sceneTreeEntityRemoved(const ecsid_t id);
|
Reference in New Issue
Block a user