BattleSessionMoveChoiceHandler

MoveChoice 提交处理器。

设计意图:

  • 负责 move choice 的合法性校验、动作入队与结构化日志记录。

  • 作为无状态策略组件供 session 或 Spring 容器复用。

Constructors

Link copied to clipboard
constructor(commandFactory: BattleSessionCommandFactory)

Properties

Link copied to clipboard
open override val choiceType: KClass<out BattleSessionChoice>

当前处理器负责的 choice 类型。

Functions

Link copied to clipboard
open override fun submit(choice: BattleSessionChoice, session: BattleSession): List<BattleSessionAction>

把 move choice 转为可执行的 session action。