Class used to manipulate entity's health.

Constructors

Methods

Constructors

Methods

  • Returns number

    Entity's current health value.

    No such method.

  • Returns number

    Entity's maximum health value.

    No such method.

  • Sets entity's current health value.

    Parameters

    • health: number

      health value to be set

    Returns void

    No such method.

  • Sets entity's maximum health value.

    Parameters

    • maxHealth: number

    Returns void

    No such method.

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