Class GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>Abstract

Type Parameters

  • ID extends number

  • INSTANCE_ARGS extends any[] = []

  • DATA = any

Hierarchy

Constructors

  • Type Parameters

    • ID extends number

    • INSTANCE_ARGS extends any[] = []

    • DATA = any

    Parameters

    • id: ID
    • random: Random<IRandomGenerator<any>>
    • Rest ...args: INSTANCE_ARGS

    Returns GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>

Properties

args: INSTANCE_ARGS
event: IEventEmitter<GameplayModifierInstance<ID, INSTANCE_ARGS, DATA>, IGameplayModifierInstanceEvents>
id: ID
options: IGameOptionsPartial = {}
random: Random<IRandomGenerator<any>>

Methods

  • Returns undefined | DATA

  • Returns default

  • Returns default

  • Returns void

  • Returns void

Generated using TypeDoc