Stick_Runner
Dependencies: FXOS8700CQ Gamepad N5110 SDFileSystem mbed
Fork of Stick_Runner by
Diff: Character/Character.cpp
- Revision:
- 4:2fdafb53eac2
- Parent:
- 3:0c690f1c04d8
- Child:
- 5:1bf7c83f86cc
--- a/Character/Character.cpp Wed May 03 09:27:04 2017 +0000 +++ b/Character/Character.cpp Wed May 03 18:00:37 2017 +0000 @@ -1,3 +1,5 @@ + + #include "Character.h" @@ -124,7 +126,8 @@ //Returns the postion (x,y) of the character on the screen -Vector2D Character::getCharacterPos() { +Vector2D Character::getCharacterPos() +{ Vector2D p = {charPosX,charPosY}; return p; }