summaryrefslogtreecommitdiff
path: root/square.h
diff options
context:
space:
mode:
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