private void Shuffle() { _tiles = _tiles.Shuffle(); for (int x = 0; x < _columns; x++) { for (int y = 0; y < _rows; y++) { Tile tile = _tiles[x, y]; tile.Clear(); tile.UpdatePos(x, y); } } _view.ShuffleAnim(_tiles); }
private void Shuffle() { _tiles = _tiles.Shuffle(); for (int x = 0; x < _columns; x++) { for (int y = 0; y < _rows; y++) { Tile tile = _tiles[x, y]; tile.Clear(); tile.UpdatePos(x, y); } } _view.ShuffleAnim(_tiles); }