public void move(int sWidth, int sHeight) {
		if (turningRight)
			angle += rotationalSpeed;
		if (turningLeft)
			angle -= rotationalSpeed;

		if (accelerating) {
			xVelocity += acceleration * Math.cos(angle);
			yVelocity += acceleration * Math.sin(angle);
		}

		if (decelerating) {
			xVelocity -= deceleration * Math.cos(angle);
			yVelocity -= deceleration * Math.sin(angle);
		}

		x += xVelocity;
		y += yVelocity;
		xVelocity *= drag;
		yVelocity *= drag;

		if (x < 0)
			x += sWidth;
		else if (x > sWidth)
			x -= sWidth;

		if (y < 0) {
			y += sHeight;
		} else if (y > sHeight)
			y -= sHeight;
	}