예제 #1
0
 private void AddNewCreatures()
 {
     foreach (var newSimObject in NewSimObjects)
     {
         SimObjects.Add(newSimObject);
     }
     NewSimObjects.Clear();
 }
예제 #2
0
 /// <summary>
 /// Add a new creature to the NewSimObjects list
 /// </summary>
 /// <param name="creature">Creature object</param>
 public void AddNewCreature(Creature creature) => NewSimObjects.Add(creature);