public void thrust()
{
        xVelocity += Math.cos(Math.toRadians(angle))*acce;
        yVelocity += Math.sin(Math.toRadians(angle))*acce;
        Velocity = getVelocity();
        
        angle1 = Math.toDegrees(Math.atan(yVelocity / xVelocity)); 
        if(xVelocity < 0) 
        angle1 += 180; 
        if(xVelocity > 0 && yVelocity < 0) 
            angle1 += 360;
            if (getVelocity()>topSpeed)
           {
               xVelocity = topSpeed*Math.cos(Math.toRadians(angle1));
               yVelocity = topSpeed*Math.sin(Math.toRadians(angle1));
               
        }
     isThrust = true;
    }