World:removeEntity
Queues an Entity to be removed from the World.
Queues an Entity to be removed from the World.
If the Entity has a key Component, it is removed first. The Entity remains in the World until the next flush.
world = world:removeEntity( e )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
e |
Entity | Entity to remove |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
world |
World |