[Add] Playful interaction with cells
This commit is contained in:
@@ -8,9 +8,13 @@ namespace Minesweeper.Core
|
||||
int Height { get; }
|
||||
int MinesCount { get; }
|
||||
bool IsGenerated { get; }
|
||||
int OpenedSafeCellsCount { get; }
|
||||
int SafeCellsCount { get; }
|
||||
|
||||
void InitializeEmptyBoard();
|
||||
bool GenerateAfterFirstClick(int safeX, int safeY);
|
||||
BoardActionResult OpenCell(int x, int y);
|
||||
BoardActionResult ToggleFlag(int x, int y);
|
||||
bool IsInside(int x, int y);
|
||||
bool TryGetCell(int x, int y, out BoardCellData cell);
|
||||
IReadOnlyList<BoardCellData> GetCells();
|
||||
|
||||
Reference in New Issue
Block a user