diff options
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); } |