Esempio n. 1
0
 public void removeStructure(Structure structure)
 {
     if (structuresInArea.Contains (structure)) {
             structuresInArea.Remove (structure);
     } else {
         Debug.LogError("Structure does not exist in Area to Remove!");
     }
 }
Esempio n. 2
0
 public void addStructureToArea(Structure structureToAdd)
 {
     structuresInArea.Add (structureToAdd);
 }