Methods
Death
- Death(party: "Opponent" | "Own player"): void
-
Parameters
-
party: "Opponent" | "Own player"
Returns void
DieRollValue
- DieRollValue(value: number): void
EndingTurn
- EndingTurn(message: "No deaths"): void
LogSession
- LogSession(action: "Ending" | "Using new"): void
-
Parameters
-
action: "Ending" | "Using new"
Returns void
PlayingTurnAgainst
- PlayingTurnAgainst(player: Player): void
RemainingPlayers
- RemainingPlayers(players: Player[]): void
SwappingPlayer
- SwappingPlayer(swapType: "Following existing" | "Creating new", oldIndex: number, newIndex: number): void
-
Parameters
-
swapType: "Following existing" | "Creating new"
-
oldIndex: number
-
newIndex: number
Returns void
TerminatingPlayer
- TerminatingPlayer(index: number, value: Player): void
Take this parameter so that meaning of the log is clear at the call site.