Package org.rspeer.game.effect
Class Health
- java.lang.Object
-
- org.rspeer.game.effect.Health
-
public class Health extends Object
Provides local player health related operations
-
-
Constructor Summary
Constructors Constructor Description Health()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getCurrent()
static int
getLevel()
static int
getPercent()
static boolean
isOverhealed()
static boolean
isRestored()
-
-
-
Method Detail
-
getCurrent
public static int getCurrent()
- Returns:
- The current health of the local player
-
getLevel
public static int getLevel()
- Returns:
- The maximum base health (or level) of the local player)
-
getPercent
public static int getPercent()
- Returns:
- The current health of the local player as a percentage
-
isOverhealed
public static boolean isOverhealed()
-
isRestored
public static boolean isRestored()
-
-