Files
2026-06-07 01:12:10 +07:00

20 lines
526 B
C#

using System.Collections.Generic;
using Minesweeper.Core;
namespace Minesweeper.Presentation.ReadModels
{
public interface IGameReadModel
{
GameState State { get; }
int Width { get; }
int Height { get; }
int MinesCount { get; }
int FlaggedCellsCount { get; }
int RemainingMinesCount { get; }
bool TryGetCell(int x, int y, out BoardCellData cell);
IReadOnlyList<BoardCellData> GetCells();
IReadOnlyList<BoardCellData> GetChangedCells();
}
}