Ejemplo n.º 1
0
        public bool IsAdditionalTarget(ushort buildingID, byte targetDistrictID)
        {
            ServiceBuildingData data = GetData(buildingID);

            return(data == null ? false : data.IsAdditionalTarget(targetDistrictID));
        }
Ejemplo n.º 2
0
        public bool IsTargetCovered(ushort buildingID, byte targetDistrictID)
        {
            ServiceBuildingData data = GetData(buildingID);

            return(data == null ? false : (data.AreAllDistrictsServed() || data.IsAdditionalTarget(targetDistrictID)));
        }