Skip to content
RED SAGSkills
medium10 pts · first answer countsgameplaydesign-patterns

Messy player code

Player code is full of flags like isJumping, isAttacking and isClimbing, causing bugs where two states run at once. What is a good refactor?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions