Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RandomItem

Hierarchy

Implements

Index

Constructors

constructor

Properties

magical

magical: number = 0

Optional random

Optional value

value: T

Methods

[Objects.SYMBOL_CLONE]

  • [Objects.SYMBOL_CLONE](clone: typeof deepClone): this

Protected clone

create

  • Parameters

    Returns any

getRandom

setMagical

  • setMagical(amount: number): this
  • Parameters

    • amount: number

    Returns this

setQuality

  • setQuality(quality: Quality): this
  • Parameters

    • quality: Quality

    Returns this

Generated using TypeDoc