public Building[] SpawnBuildings() { Building[] buildings = factory.SpawnBuildings(); for (int i = 0; i < buildings.Length; ++i) { Buildings.Add(buildings[i]); } return(buildings); }
public Building[] SpawnBuildings() { Building[] buildings = factory.SpawnBuildings(); for (int i = 0; i < buildings.Length; ++i) { Buildings.Add(buildings[i]); } return(buildings); }