summaryrefslogtreecommitdiff
path: root/square.h
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 /square.h
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 'square.h')
-rw-r--r--square.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/square.h b/square.h
index 46a513b..254f905 100644
--- a/square.h
+++ b/square.h
@@ -22,6 +22,10 @@
class square
{
+ /*
+ * real* indicates the pixel position
+ * grid* indicates grid position
+ */
public:
explicit square(); /* init function */
int getgridx();
@@ -31,10 +35,6 @@ class square
void movetogridpos(int x, int y);
private:
- /*
- * real* indicates the pixel position
- * grid* indicates grid position
- */
int realx;
int realy;