medium10 pts · first answer countsgame-architecturepatterns
Event handler fires the same event
A handler for OnDamage applies thorns damage, which raises OnDamage again inside the first call, causing a crash. What design helps?
Discussion 0
Join free to post in the discussion.
Related questions
- Variable and fixed timestepsGame Developer
- Jump pressed just before landingGame Developer
- Jumping just after leaving a ledgeGame Developer
- Why games pool objectsGame Developer
- Decoupling achievements from combatGame Developer
- A flying, swimming, shooting enemyGame Developer
- Enemy with patrol, chase and attackGame Developer
- What to put in a save fileGame Developer