using System;
using System.Collections.Generic;
using Minesweeper.Core;
using Minesweeper.Presentation.Factories;

namespace Minesweeper.Presentation.Views
{
    public sealed class NullBoardView : IBoardView
    {
        public event Action CellPressStarted { add { } remove { } }
        public event Action CellPressEnded { add { } remove { } }
        public event Action PauseRequested { add { } remove { } }
        public event Action<int, int> CellOpenRequested { add { } remove { } }
        public event Action<int, int> CellFlagRequested { add { } remove { } }
        public void Show() { }
        public void Hide() { }
        public void Rebuild(IReadOnlyList<BoardCellData> cells, int width, int height, ICellViewFactory cellViewFactory, bool revealUnflaggedMines) { }
        public void Refresh(IReadOnlyList<BoardCellData> cells, bool revealUnflaggedMines) { }
        public void RefreshCells(IReadOnlyList<BoardCellData> cells, bool revealUnflaggedMines) { }
        public void SetInputEnabled(bool enabled) { }
    }
}
