示例#1
0
 public void RemoveAllNuts()
 {
     for (var i = Nuts.Count - 1; i >= 0; i--)
     {
         DrawScene.Pop(Nuts[i]);
         Nuts.RemoveAt(i);
     }
 }
示例#2
0
 public void RemoveNut(Nut nut)
 {
     DrawScene.Pop(nut);
     Nuts.Remove(nut);
 }