Class Movement


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

      • Movement

        public Movement()
    • Method Detail

      • 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
      • 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()