Implement the 002-add-combatant feature that adds the possibility to add new combatants to an encounter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user