예제 #1
0
 private void TryDropFilth()
 {
     if (carriedFilth.Count != 0)
     {
         for (int num = carriedFilth.Count - 1; num >= 0; num--)
         {
             Filth filth = carriedFilth[num];
             if (filth.CanDropAt(pawn.Position, pawn.Map))
             {
                 DropCarriedFilth(carriedFilth[num]);
                 FilthMonitor.Notify_FilthDropped();
             }
         }
     }
 }
예제 #2
0
 private void TryDropFilth()
 {
     if (this.carriedFilth.Count != 0)
     {
         for (int i = this.carriedFilth.Count - 1; i >= 0; i--)
         {
             Filth filth = this.carriedFilth[i];
             if (filth.CanDropAt(this.pawn.Position, this.pawn.Map))
             {
                 this.DropCarriedFilth(this.carriedFilth[i]);
                 FilthMonitor.Notify_FilthDropped();
             }
         }
     }
 }