public void rotate()
	{
		switch(getDirection())
		{
			case "up":
				setDirection("right");
				break;
			case "right":
				setDirection("down");
				break;
			case "down":
				setDirection("left");
				break;
			case "left":
				setDirection("up");
				break;
			default:
				System.out.println("rotate() is bugged");
		}
	}