summaryrefslogtreecommitdiff
path: root/square.h
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-09-02 11:47:15 +0930
committerdaniel-Jones <daniel@danieljon.es>2018-09-02 11:47:15 +0930
commit12f885b28b9740349dcee6a7c57d7b774017fd05 (patch)
treea1f19acd069ba42dd757c006783157013a53aed5 /square.h
parent34eab2a4cd9a20f7deae3b7225a11678c240ede9 (diff)
downloadqtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.tar.gz
qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.zip
initial cell flag system setup
Diffstat (limited to 'square.h')
-rw-r--r--square.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/square.h b/square.h
index 14377c1..fd37b58 100644
--- a/square.h
+++ b/square.h
@@ -24,8 +24,6 @@ class square
explicit square(); /* init function */
private:
-
- protected:
/*
* real* indicates the pixel position
* grid* indicates grid position
@@ -42,13 +40,16 @@ class square
void setgridx(int x);
void setgridy(int y);
+ void movetorealpos(int x, int y);
+
int getrealx();
int getrealy();
+ protected:
int getgridx();
int getgridy();
- void movetogridpos(int x, int y)
+ void movetogridpos(int x, int y);
};
#endif