Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to manipulate entity's health

deprecated

Consider using Entity.getHealth, Entity.setHealth, Entity.getMaxHealth and Entity.setMaxHealth instead

Hierarchy

  • EntityHealth

Index

Constructors

Methods

  • get(): number
  • getMax(): number
  • set(health: number): void
  • Sets entity's current health value

    Parameters

    • health: number

      health value to be set

    Returns void

  • setMax(maxHealth: number): void

Generated using TypeDoc