Component Physicality - DevRubicate/Devil-Fresh GitHub Wiki
Description
The physicality component is what gives an entity the ability to exist in the universe. Without it, the [Universe](Component Universe) component cannot accept this entity as one of the entities that exists within it's physical self.
Events
enteredUniverse (universe:Entity)
removeEntity ()
Details
Know yourself
When the [Universe](Component Universe) component adds an entity to it's physical self, the event "enteredUniverse" is sent to the child entity to notify it that it's been accepted into this universe.
Remove yourself
When the event "removeEntity" is seen, the physicality component sends the "removeEntity" event to the parent universe, requesting that it's entity be taken out of physical existence.