Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapLayoutTutorial

Hierarchy

Index

Constructors

constructor

Methods

getAvailableDifficulties

  • getAvailableDifficulties(): string[]

getDesc

  • getDesc(): any
  • Returns the map description

    Returns any

getId

  • getId(): any
  • Returns the maps id

    Returns any

getIsHidden

  • getIsHidden(): boolean
  • Returns if this layout is hidden

    Returns boolean

getNumTilesX

  • getNumTilesX(): number

getNumTilesY

  • getNumTilesY(): number

getPerkId

  • getPerkId(): any
  • Returns the perk which needs to be owned in order to play this map

    Returns any

getPowerupCount

  • getPowerupCount(): object
  • Returns how many of each powerup are on the map

    Returns object

    • arrow_1: boolean
    • arrow_2: boolean
    • arrow_3: boolean
    • cannon_1: boolean
    • cannon_2: boolean
    • cannon_3: boolean
    • crystal_1: boolean
    • crystal_2: boolean
    • crystal_3: boolean

getPowerupLikelinesses

  • getPowerupLikelinesses(): object
  • Returns object

    • arrow_1: number
    • arrow_2: number
    • arrow_3: number
    • cannon_1: number
    • cannon_2: number
    • cannon_3: number
    • crystal_1: number
    • crystal_2: number
    • crystal_3: number

getResourceCounts

  • getResourceCounts(): object
  • Returns object

    • coalore: number
    • crystal: number
    • ironore: number
    • rock: number
    • tree: number
    • uraniumore: number

getSkinId

  • getSkinId(): any
  • Returns the skin to use

    Returns any

getTheme

  • getTheme(): any
  • Returns the color theme

    Returns any

getTitle

  • getTitle(): any
  • Returns the map name

    Returns any

initializeMap

  • initializeMap(root: any): void
  • Initializes the map

    Parameters

    • root: any

    Returns void