Library containing the Game Engine
Diff: GameEngine.cpp
- Revision:
- 1:13a97de95e46
- Parent:
- 0:5997fa876927
- Child:
- 2:3b1d8ac1aac1
diff -r 5997fa876927 -r 13a97de95e46 GameEngine.cpp --- a/GameEngine.cpp Mon Apr 24 11:06:49 2017 +0000 +++ b/GameEngine.cpp Fri Apr 28 15:29:29 2017 +0000 @@ -37,3 +37,10 @@ _p.update(_d,_mag); } + +void GameEngine::get_pos() +{ + Vector2D player_pos = _p.get_pos(); + printf("yolo swag %f %f \n", player_pos.x, player_pos.y); //top left of player sprite + + } \ No newline at end of file