private void RemoveExtraPregameCells() { PregameCells.Keys .Except(_grid.Cells) .ToList() .ForEach(k => PregameCells.Remove(k)); }
private void AddMissingPregameCells() { _grid.Cells .Except(PregameCells.Keys) .ToList() .ForEach(k => PregameCells.Add(k, false)); }