SetState(LifecycleState)
Set the lifecycle state to the given state.
Most useful for killing enemies (SetState(Death)).
Prolong(frames)
Prolong the current lifecycle state by the given amount of frames.
Most useful for prolonging an entity's deletion when they are in the Death state.
Action variant ideas:
Die
Sets the lifecycle state to
Death
.SetState(LifecycleState)
Set the lifecycle state to the given state.
Most useful for killing enemies (
SetState(Death)
).Prolong(frames)
Prolong the current lifecycle state by the given amount of frames.Most useful for prolonging an entity's deletion when they are in the
Death
state.