Merge pull request #13 from rodri042/position-signed-ints

Position getters now return signed ints
This commit is contained in:
Wouter Groeneveld 2020-06-28 15:56:11 +02:00 committed by GitHub
commit aef56ed72c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; }