示例#1
0
    internal void PrepareToSave()
    {
        buildings = new PackagedBuilding[BuildingsList.Count];
        int i = 0;

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