シナリオ
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.