@Override
	public double getXRotation()
	{
		double lowest = 9001;
		double highest = 0;
		int y = 0;
		if (getRotationAngle() == 180)
			y = -20;
		if (getRotationAngle() == 360)
			y = 20;
		for (Block block : blockArray)
		{
			if (block.getXValue() > highest)
				highest = block.getXValue();
			if (block.getXValue() < lowest)
				lowest = block.getXValue();

		}
		return ((highest + lowest) / 2) + y;
	}