Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TutorialStepEnhanceCrystalmine

Hierarchy

Index

Constructors

constructor

Methods

addRequirement

  • addRequirement(requirement: any): void
  • Adds a new requirement which is checked before every update (e.g. game not paused)

    Parameters

    • requirement: any

    Returns void

computeStatus

  • computeStatus(): object
  • Returns object

    • arrows: any[]
    • text: any

getId

  • getId(): any
  • Returns any

getIsFinished

  • getIsFinished(): boolean

getStatus

  • getStatus(): any
  • Returns the indicators and text for the given step

    Returns any

helperGetBlueprintCount

  • helperGetBlueprintCount(metaClass: any): number

helperGetBuildingCount

  • helperGetBuildingCount(metaClass: any, includeBlueprints?: boolean): number
  • Returns the amount of buildings of the type

    Parameters

    • metaClass: any
    • Default value includeBlueprints: boolean = true

    Returns number

Static getId

  • getId(): string
  • Returns string