Class Movement

java.lang.Object
org.rspeer.game.movement.Movement

public class Movement extends Object
Operations related to player movement
  • Constructor Details

    • Movement

      public Movement()
  • Method Details

    • walkTowards

      public static void walkTowards(SceneNode destination)
    • walkTo

      public static boolean walkTo(SceneNode position)
      Returns:
      will return false if it fails to walk to the position; true if it is walking
    • getCachedPath

      @Deprecated public static WebPath getCachedPath()
      Deprecated.
    • clearCachedPath

      @Deprecated public static void 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

      public static Position getDestination()
    • isDestinationSet

      public static boolean isDestinationSet()