chording support

This commit is contained in:
2025-06-22 13:08:52 +03:00
parent 3eb99d591f
commit 429074dd79
7 changed files with 77 additions and 50 deletions

View File

@@ -20,6 +20,7 @@ public:
int getMineCount() const;
void regenerateBoard();
bool isGameWon() const;
std::vector<Cell> getNeighborsOf(int x, int y);
private:
Vector2 size;

View File

@@ -38,6 +38,7 @@ public:
void toggleFlag();
Content getContent() const;
void setContent(Content newContent);
Vector2 getPosition() const;
private:
State state = State::Hidden;