Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttributesImpl

Hierarchy

  • AttributesImpl

Index

Methods

add

  • Parameters

    Returns this

all

  • Returns [DamageType, number][]

copy

  • Returns Attributes

equals

  • Parameters

    Returns boolean

has

  • has(): boolean
  • Returns boolean

reset

  • reset(amount?: number): void
  • Parameters

    • Default value amount: number = 0

    Returns void

set

  • set(damageTypes: DamageType, amount: number): this
  • Parameters

    Returns this

types

  • Returns DamageType[]

Static create

  • Returns AttributesImpl & {}

Generated using TypeDoc