Пример #1
0
 public void RemoveInstance(TowerInstance instance)
 {
     if (instance == null)
     {
         instances.RemoveAt(instances.Count - 1);
     }
     else
     {
         instances.Remove(instance);
     }
 }
Пример #2
0
 public void RemoveInstance(TowerInstance instance)
 {
     if (instance == null)
         instances.RemoveAt(instances.Count - 1);
     else
         instances.Remove(instance);
 }
Пример #3
0
 public void AddInstance(TowerInstance instance)
 {
     instances.Add(instance);
 }
Пример #4
0
 public void AddInstance(TowerInstance instance)
 {
     instances.Add(instance);
 }