Interface PlayerExhaustion

Interface used to manipulate player's exhaustion.

Consider using Player.getExhaustion and Player.setExhaustion.

interface PlayerExhaustion {
    get(): number;
    set(value: number): void;
}

Methods

Methods

  • Returns number

    Player's current exhaustion.

  • Sets player's exhaustion.

    Parameters

    • value: number

      exhaustion value to be set

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.