Skip to content
RED SAG Skills
hard20 pts · first answer countsgame-architecturepatternsecs

Handle points to a reused slot

Entities are stored in a pool, and AI keeps the index of its target. The target dies, the slot is reused by a new entity, and the AI now attacks the wrong one. What fixes this?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions