ReplacementStrategy

替补选择策略。

设计意图:

  • 把“active 单位倒下后由谁顶上”从 BattleSession 主体中拆出。

  • 允许后续按模式、AI、玩家输入或测试需要替换不同策略。

Inheritors

Functions

Link copied to clipboard
abstract fun selectActiveUnitIds(side: SideState, units: Map<String, UnitState>): List<String>

为指定 side 选择下一批 active 单位。