Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Utils

Index

Methods

Static canConvoy

Static isMovableViaSea

Static isSea

Static locationsToRetreat

Static movableLocationsOf

  • movableLocationsOf<Power>(board: Board<Power>, unit: Unit<Power>): Set<Location<Power>>

Static movableViaConvoyLocationsOf

  • movableViaConvoyLocationsOf<Power>(board: Board<Power>, unit: Unit<Power>): Set<Location<Power>>

Static numberOfBuildableUnits

  • numberOfBuildableUnits<Power>(board: Board<Power>): Map<Power, number>
  • Type parameters

    • Power

    Parameters

    Returns Map<Power, number>

    The Map between powers and number of buildable units. If a power should disband some units, this contains negative number (e.g., It contains -1 if a power has to disband 1 unit).

Static numberOfSupplyCenters

  • numberOfSupplyCenters<Power>(board: Board<Power>): Map<Power, number>
  • Type parameters

    • Power

    Parameters

    Returns Map<Power, number>

    The map between powers and the number of supply centers

Static supportableLocationsOf

Generated using TypeDoc