summaryrefslogtreecommitdiff
path: root/cell.cpp
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-09-04 20:34:39 +0930
committerdaniel-Jones <daniel@danieljon.es>2018-09-04 20:34:39 +0930
commit06aca0d336b4c6fc08f1b448c271ce8b4e5144e8 (patch)
tree89e871a2a746734cd9cda34c3ab72686fb409bc1 /cell.cpp
parentd986eabb3c0009b1180707cbbc88125312f9212a (diff)
downloadqtminesweeper-06aca0d336b4c6fc08f1b448c271ce8b4e5144e8.tar.gz
qtminesweeper-06aca0d336b4c6fc08f1b448c271ce8b4e5144e8.zip
added BUGS file, created and placed cells
However, the cells will soon use std::vector instead of a qt list.
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 e4035ba..d32fa6e 100644
--- a/cell.cpp
+++ b/cell.cpp
@@ -39,3 +39,8 @@ void cell::flagcheck()
if (flags & NUMBER)
puts("number");
}
+
+int cell::getflags()
+{
+ return flags;
+}