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 CellOpenRequested { add { } remove { } } public event Action CellFlagRequested { add { } remove { } } public void Show() { } public void Hide() { } public void Rebuild(IReadOnlyList cells, int width, int height, ICellViewFactory cellViewFactory, bool revealUnflaggedMines) { } public void Refresh(IReadOnlyList cells, bool revealUnflaggedMines) { } public void RefreshCells(IReadOnlyList cells, bool revealUnflaggedMines) { } public void SetInputEnabled(bool enabled) { } } }