如果我判断是不是Village class, 调用 findBuildingsType( buildingEntities, Village), instanceof 来判断参数属性
不用传参直接判断是不是Village类就好了