internal void PrepareToSave() { buildings = new PackagedBuilding[BuildingsList.Count]; int i = 0; foreach (var item in BuildingsList) { item.PrepareToSave(); buildings[i] = new PackagedBuilding(item); i++; } }
internal override void PrepareToSave() { nextBuilding = new PackagedBuilding(NextBuilding); }