Package org.rspeer.game.effect
Class Health
java.lang.Object
org.rspeer.game.effect.Health
Provides local player health related operations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static int
getLevel()
static int
static boolean
static boolean
-
Constructor Details
-
Health
public Health()
-
-
Method Details
-
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()
-