summaryrefslogtreecommitdiff
path: root/cell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cell.cpp')
-rw-r--r--cell.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cell.cpp b/cell.cpp
index cfedeb6..2648860 100644
--- a/cell.cpp
+++ b/cell.cpp
@@ -49,3 +49,8 @@ void cell::reveal()
{
setflags((int)flags ^ (int)REVEALED);
}
+
+void cell::makemine()
+{
+ setflags((int)flags | (int)MINE);
+}