Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GameplayModifier<ID>

Type parameters

  • ID: number

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    Returns GameplayModifier

Properties

Readonly id

id: ID

Optional Readonly imagePath

imagePath: undefined | string

Protected Optional Readonly options

Game options to be applied when this modifier is active

Readonly random

Methods

getOptions

  • getOptions(resolve?: boolean): undefined | ({} & { milestoneModifiers?: undefined })
  • Parameters

    • Default value resolve: boolean = false

    Returns undefined | ({} & { milestoneModifiers?: undefined })

getRandom

initialize

  • initialize(): void
  • Returns void

isEnabledForPlayer

  • isEnabledForPlayer(_entity: Entity): boolean
  • Parameters

    Returns boolean

uninitialize

  • uninitialize(): void
  • Returns void

Generated using TypeDoc