public void turn(int clockwise)
	{
		if(clockwise > 0)
			dir -= turnSpeed;
		else if(clockwise < 0)
			dir += turnSpeed;
		if(dir > 2*Math.PI)
			dir -= 2*Math.PI;
		else if(dir < 0)
			dir += 2*Math.PI;
	}