This commit is contained in:
2025-08-21 22:58:39 -05:00
parent 1b4c270ccb
commit b1be1deb79
11 changed files with 223 additions and 55 deletions

View File

@@ -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);