Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to manipulate player's level

deprecated

Consider using Player.getLevel, Player.setLevel, Player.addLevel

Hierarchy

  • PlayerLevel

Index

Constructors

Methods

Constructors

Methods

  • add(level: number): void
  • Adds specified amount of level to the current value

    Parameters

    • level: number

      amount to be added

    Returns void

  • get(): number
  • set(level: number): void
  • Sets player's level

    Parameters

    • level: number

      level value to be set

    Returns void

Generated using TypeDoc