chording support

This commit is contained in:
2025-06-22 13:08:52 +03:00
committed by thorium1256
parent dda721f8e9
commit c1e89c5122
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;