Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Board<Power>

Type parameters

  • Power

Hierarchy

Index

Constructors

constructor

Properties

map

provinceStatuses

provinceStatuses: Map<Province<Power>, ProvinceStatus<Power>>

The state of each province (e.g., standoff was occurred, this province is occupied by X)

state

state: State

unitStatuses

unitStatuses: Map<Unit<Power, MilitaryBranch>, Dislodged<Power>>

The state of each unit (e.g., the unit was dislodged)

units

units: Set<Unit<Power, MilitaryBranch>>

The units that are in this board

Generated using TypeDoc