Closed Glidias closed 4 years ago
The game entity might remove itself from the manager. Normal iteration would break in this use case.
aha simple solution to a typical issue. But wouldn't it still be possible it can kill other entities during the update? I
Yeah, the engine does not cover this use case. The convection is: A game entity is allowed to remove itself but no others.
Why iterate them backwards in EntityManager?