public static Direction fromInteger2(int value)
	{
		if (value > -1)
		{
			value >>= 1;
		}
		
		switch (value)
		{
			case 0:
				return NORTH;
			case 1:
				return NORTH_EAST;
			case 2:
				return EAST;
			case 3:
				return SOUTH_EAST;
			case 4:
				return SOUTH;
			case 5:
				return SOUTH_WEST;
			case 6:
				return WEST;
			case 7:
				return NORTH_WEST;
		}
		
		return Direction.NONE;
	}