Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MilestonesManager

Hierarchy

Implements

Index

Properties

Readonly descriptions

descriptions: {} & {} = milestoneDescriptions

Readonly event

event: IEventEmitter<this, IMilestoneEvents> = new EventEmitter<this, E>(this)

Methods

add

  • Parameters

    Returns void

areUnlockable

  • areUnlockable(mode?: any): any
  • Parameters

    • Default value mode: any = game.getGameMode()

    Returns any

areUnlockableInMode

  • areUnlockableInMode(mode?: any): boolean
  • Parameters

    • Default value mode: any = game.getGameMode()

    Returns boolean

getCompleted

getCurrentAmount

  • getCurrentAmount(milestone: Milestone): number
  • Get the current amount for the given milestone.

    Parameters

    Returns number

getDesiredAmount

  • getDesiredAmount(milestone: Milestone): number
  • Get the designed amount for the given milestone

    Parameters

    Returns number

getDiscovered

  • Parameters

    Returns any

getVisibility

isComplete

  • Get whether the given milestone is completed or not.

    Parameters

    Returns boolean

reset

  • reset(): void
  • Returns void

update

  • update(): void
  • Returns void

Generated using TypeDoc