Closed Noah2610 closed 4 years ago
A bunch of logic should be removed once an entity enters LifecycleState::Death. A bunch of components should be removed, and EntityConfig events logic should stop.
LifecycleState::Death
EntityConfig
For dying entities, delete components:
Velocity
Gravity
Collider
Collidable
Solid
LedgeDetector
EventsRegister
A bunch of logic should be removed once an entity enters
LifecycleState::Death
. A bunch of components should be removed, andEntityConfig
events logic should stop.