Files
FreewayGamesTest/Assets/Runtime/Presentation/ReadModels/IGameReadModel.cs
T
2026-06-06 22:33:15 +07:00

19 lines
470 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();
}
}