shouldRemove property

bool shouldRemove
getter/setter pair

Whether this component should be removed or not.

It will be checked once per component per tick, and if it is true, FlameGame will remove it.

Implementation

bool shouldRemove = false;