Exemple #1
0
 public static void Notify_FilthSpawned(NoCleaningPlease.Filth f)
 {
     if (NoCleaningPlease.Find.AreaCleaning[f.Position])
     {
         ListerFilth.FilthWithinZone.Add(f);
     }
 }
Exemple #2
0
 public static void Notify_FilthDespawned(NoCleaningPlease.Filth f)
 {
     for (int i = 0; i < ListerFilth.FilthWithinZone.Count; i++)
     {
         if (ListerFilth.FilthWithinZone[i] == f)
         {
             ListerFilth.FilthWithinZone.RemoveAt(i);
             return;
         }
     }
 }