Mugen87/yuka

Question regarding entities and triggers, etc.

Glidias opened this issue · 3 comments

Why iterate them backwards in EntityManager?

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.