상황
A turn-based RPG combat system where characters take actions based on speed, manage status effects, and queue actions for execution.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Use abstract Character for player and enemy
02
Interface for combat actions with concrete implementations
03
Action queue managed by CombatManager with composition
04
Status effects as abstract class with aggregation on Character
When designing a turn-based combat engine for a game, or modeling game mechanics with actions and status effects.