diff options
Diffstat (limited to 'cell.cpp')
-rw-r--r-- | cell.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -49,3 +49,8 @@ void cell::reveal() { setflags((int)flags ^ (int)REVEALED); } + +void cell::makemine() +{ + setflags((int)flags | (int)MINE); +} |