Implement the 002-add-combatant feature that adds the possibility to add new combatants to an encounter

This commit is contained in:
Lukas
2026-03-03 23:11:07 +01:00
parent 187f98fc52
commit 0de68100c8
15 changed files with 914 additions and 16 deletions

View File

@@ -12,4 +12,11 @@ export interface RoundAdvanced {
readonly newRoundNumber: number;
}
export type DomainEvent = TurnAdvanced | RoundAdvanced;
export interface CombatantAdded {
readonly type: "CombatantAdded";
readonly combatantId: CombatantId;
readonly name: string;
readonly position: number;
}
export type DomainEvent = TurnAdvanced | RoundAdvanced | CombatantAdded;