Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseMetaFaction

Hierarchy

Index

Methods

getBuildableRegion

  • getBuildableRegion(): string
  • Returns where on the map this faction can build

    Returns string

getBuildableRegionRect

  • getBuildableRegionRect(): any
  • Returns where on the map this faction can build

    Returns any

getId

  • getId(): string
  • Returns string

getMirrorX

  • getMirrorX(): boolean
  • Whether the map layout should be mirrored on the X axis

    Returns boolean

getMirrorY

  • getMirrorY(): boolean
  • Whether the map layout should be mirrored on the Y axis

    Returns boolean

isAlliedFaction

  • isAlliedFaction(faction: any): boolean
  • Returns if the given faction is allied to our faction. We do attack all factions except allied factions

    Parameters

    • faction: any

    Returns boolean

isMergedFaction

  • isMergedFaction(faction: any): boolean
  • Returns if our base is merged with the others faction. This means that both factions buildings connect to each other. By default this is disabled

    Parameters

    • faction: any

    Returns boolean