@Override
	public double getYRotation()
	{
		double lowest = 9001;
		double highest = 0;
		int y = 0;
		if (getRotationAngle() == 90)
			y = 20;
		if (getRotationAngle() == 270)
			y = -20;
		for (Block block : blockArray)
		{
			if (block.getYValue() > highest)
				highest = block.getYValue();
			if (block.getYValue() < lowest)
				lowest = block.getYValue();
		}
		return ((highest + lowest) / 2) + y;
	}