Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to manipulate player's experience

deprecated

Consider using Player.getExperience, Player.setExperience, Player.addExperience

Hierarchy

  • PlayerExperience

Index

Constructors

Methods

Constructors

Methods

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

    Parameters

    • exp: number

      amount to be added

    Returns void

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

    Parameters

    • exp: number

      experience value to be set

    Returns void

Generated using TypeDoc