public MissionSpotStat CountSelectableSpots(List <MissionSpot> allSpotsOnZone) { var msst = MissionSpotStat.CreateFromSpot(this); msst.SetSelectableSpotAmount(MissionSpotType.randompoint, CountSelectableByType(MissionSpotType.randompoint, allSpotsOnZone)); msst.SetSelectableSpotAmount(MissionSpotType.mswitch, CountSelectableByType(MissionSpotType.mswitch, allSpotsOnZone)); msst.SetSelectableSpotAmount(MissionSpotType.kiosk, CountSelectableByType(MissionSpotType.kiosk, allSpotsOnZone)); msst.SetSelectableSpotAmount(MissionSpotType.itemsupply, CountSelectableByType(MissionSpotType.itemsupply, allSpotsOnZone)); return(msst); }
public static MissionSpotStat CreateFromSpot(MissionSpot spot) { var mss = new MissionSpotStat(spot); return(mss); }