Beispiel #1
0
    public void Save()
    {
        root r = new root
        {
            height      = field.heightField,
            width       = field.widthField,
            time        = _Timer._time,
            _scellState = cellState,
            _strategy   = gameStrategy,
            _Level      = numMap
        };

        foreach (CellScr scr in AllCells)
        {
            r.data.Add(scr.settings);
        }

        DataSave.save(r);
    }