Implement the 012-turn-navigation feature that adds a RetreatTurn domain operation and relocates turn controls to a navigation bar at the top of the encounter tracker
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,18 @@ export interface CurrentHpAdjusted {
|
||||
readonly delta: number;
|
||||
}
|
||||
|
||||
export interface TurnRetreated {
|
||||
readonly type: "TurnRetreated";
|
||||
readonly previousCombatantId: CombatantId;
|
||||
readonly newCombatantId: CombatantId;
|
||||
readonly roundNumber: number;
|
||||
}
|
||||
|
||||
export interface RoundRetreated {
|
||||
readonly type: "RoundRetreated";
|
||||
readonly newRoundNumber: number;
|
||||
}
|
||||
|
||||
export type DomainEvent =
|
||||
| TurnAdvanced
|
||||
| RoundAdvanced
|
||||
@@ -64,4 +76,6 @@ export type DomainEvent =
|
||||
| CombatantUpdated
|
||||
| InitiativeSet
|
||||
| MaxHpSet
|
||||
| CurrentHpAdjusted;
|
||||
| CurrentHpAdjusted
|
||||
| TurnRetreated
|
||||
| RoundRetreated;
|
||||
|
||||
Reference in New Issue
Block a user