public void startHover(float hx, float hy) { m_hoverSprite.setVisible(true); m_hoverSprite.setPosition(hx, hy); m_dy = 0; m_dx = 0; m_hover = true; this.stopAllAnimations(); m_startHoverAnimation = new AnimateMoveTo(0.2f, this.getX(), this.getY(), hx, hy + 18); this.chainAnimations(m_startHoverAnimation, m_hoverAnimation); if ((m_hoverSpeed + 6) > maxSpeedX) maxSpeedX = m_hoverSpeed + 6; }