Example #1
0
        public bool IsAdditionalTarget(ushort buildingID, byte targetDistrictID)
        {
            ServiceBuildingData data = GetData(buildingID);

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

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