-
Notifications
You must be signed in to change notification settings - Fork 0
Component Physicality
Drakim edited this page Oct 5, 2016
·
1 revision
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.
enteredUniverse (universe:Entity)
removeEntity ()
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.
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.