mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
Minesweeper: Flag unflagged mines on win.
This commit is contained in:
parent
3d61c8ec09
commit
ac67a2ed5e
2 changed files with 21 additions and 8 deletions
|
@ -59,6 +59,7 @@ private:
|
|||
void win();
|
||||
void reveal_mines();
|
||||
void set_chord_preview(Square&, bool);
|
||||
void set_flag(Square&, bool);
|
||||
|
||||
Square& square(int row, int column) { return *m_squares[row * columns() + column]; }
|
||||
const Square& square(int row, int column) const { return *m_squares[row * columns() + column]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue