Battle

Hierarchy

  • Battle

Properties

ended: boolean

True if the battle ended

id: string

Battle identifier

mainPlayer?: number

Index of the main player

players: Map<number, BattlePlayer>

Players Player index -> Player data

request: BattleRequest

Current request

Global conditions

turn: number

Turn number

winner?: number

Index of the winning player

Generated using TypeDoc