Question regarding entities and triggers, etc.
Glidias opened this issue · 3 comments
Glidias commented
Why iterate them backwards in EntityManager?
Mugen87 commented
The game entity might remove itself from the manager. Normal iteration would break in this use case.
Glidias commented
aha simple solution to a typical issue. But wouldn't it still be possible it can kill other entities during the update? I
Mugen87 commented
Yeah, the engine does not cover this use case. The convection is: A game entity is allowed to remove itself but no others.