Class SlippyMapController.MoveTask

    • Field Detail

      • speedX

        private double speedX
        The current x speed (pixels per timer interval)
      • speedY

        private double speedY
        The current y speed (pixels per timer interval)
      • directionX

        private int directionX
        The horizontal direction of movement, -1:left, 0:stop, 1:right
      • directionY

        private int directionY
        The vertical direction of movement, -1:up, 0:stop, 1:down
      • scheduled

        protected boolean scheduled
        Indicated if moveTask is currently enabled (periodically executed via timer) or disabled