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.cpp | |
parent | 34eab2a4cd9a20f7deae3b7225a11678c240ede9 (diff) | |
download | qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.tar.gz qtminesweeper-12f885b28b9740349dcee6a7c57d7b774017fd05.zip |
initial cell flag system setup
Diffstat (limited to 'square.cpp')
-rw-r--r-- | square.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -60,7 +60,15 @@ int square::getgridy() return gridy; } +void square::movetorealpos(int x, int y) +{ + setrealx(x); + setrealy(y); +} + void square::movetogridpos(int x, int y) { + setgridx(x); + setgridy(y); } |