public void updatePosition() {
		
		// Set speed to maxSpeed if speed is greater than maxSpeed
		if (mySpeed > myMaxSpeed) {
    		mySpeed = myMaxSpeed;
    	}
    	if (mySpeed < -myMaxSpeed) {
    		mySpeed = -myMaxSpeed;
    	}
    	
    	// Convert speed and angle to vx and vy
    	myVx = mySpeed * Math.cos((myAngle - 270) * Math.PI / 180);
		myVy = mySpeed * Math.sin((myAngle - 270) * Math.PI / 180);
		
		// Update the position
		myX += myVx;
		myY += myVy;
	}