using System; using System.Collections.Generic; using Minesweeper.Core; namespace Minesweeper.Presentation.Views { public interface IGameView : IView { event Action RestartRequested; event Action GoToMenuRequested; event Action PauseRequested; event Action ResumeRequested; event Action CellOpenRequested; event Action CellFlagRequested; void ShowGame(); void HideGame(); void ShowPause(); void HidePause(); void SetMineCount(int minesCount); void SetTimer(float seconds); void RebuildBoard(IReadOnlyList cells, int width, int height); void RefreshBoard(IReadOnlyList cells); void SetBoardInputEnabled(bool enabled); } }