public static int xDelta(int givenDirection)
	{
		switch(givenDirection)
		{
			case 0: return 0;
			case 1: return 1;
			case 2: return 0;
			case 3: return -1;
			default: throw new DirectionOutOfBoundsException();
		}
	}