Class Movement
java.lang.Object
org.rspeer.game.movement.Movement
Operations related to player movement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.static WebPathDeprecated.static Positionstatic Coordstatic intstatic booleanstatic booleanstatic booleanstatic booleantoggleRun(boolean on) static booleanstatic booleanstatic booleanstatic voidwalkTowards(SceneNode destination)
-
Constructor Details
-
Movement
public Movement()
-
-
Method Details
-
walkTowards
-
walkTo
-
walkTo
- Returns:
- will return false if it fails to walk to the position; true if it is walking
-
walkTo
- Returns:
- will return false if it fails to walk to the position; true if it is walking
-
getCachedPath
Deprecated. -
clearCachedPath
Deprecated. -
isStaminaEnhancementActive
public static boolean isStaminaEnhancementActive() -
isRunEnabled
public static boolean isRunEnabled() -
getRunEnergy
public static int getRunEnergy() -
toggleRun
public static boolean toggleRun(boolean on) -
getDestination
-
getDestinationCoord
-
isDestinationSet
public static boolean isDestinationSet()
-