Position getters now return signed ints

This commit is contained in:
Rodrigo Alfonso 2020-06-24 05:09:40 -03:00
parent a2b1ae1670
commit 337631b839
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ public:
GBAVector getPosAsVector() { return GBAVector(getPos()); }
VECTOR getCenter() { return { x + w / 2, y + h / 2 }; }
VECTOR getVelocity() { return { dx, dy}; }
u32 getX() { return x; }
u32 getY() { return y; }
int getX() { return x; }
int getY() { return y; }
u32 getDx() { return dx; }
u32 getDy() { return dy; }
u32 getWidth() { return w; }