diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-09-02 11:47:15 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-09-02 11:47:15 +0930 |
commit | 12f885b28b9740349dcee6a7c57d7b774017fd05 (patch) | |
tree | a1f19acd069ba42dd757c006783157013a53aed5 /square.h | |
parent | 34eab2a4cd9a20f7deae3b7225a11678c240ede9 (diff) | |
download | qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.tar.gz qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.zip |
initial cell flag system setup
Diffstat (limited to 'square.h')
-rw-r--r-- | square.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |