Library containing the Game Engine
Diff: GameEngine.cpp
- Revision:
- 4:e78f5bcddb01
- Parent:
- 3:2f8f003ce4fd
- Child:
- 5:6224122fc07c
diff -r 2f8f003ce4fd -r e78f5bcddb01 GameEngine.cpp --- a/GameEngine.cpp Sat Apr 29 13:17:51 2017 +0000 +++ b/GameEngine.cpp Tue May 02 09:48:02 2017 +0000 @@ -44,9 +44,11 @@ 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 - //yolo swag 81.000000 0.000000 top right - //yolo swag 0.000000 0.000000 is top left - //yolo swag 81.000000 45.000000 bottom right + printf("player pos = %f %f \n", player_pos.x, player_pos.y); //top left of player sprite + // 81.000000 0.000000 top right + // 0.000000 0.000000 is top left + // 81.000000 45.000000 bottom right + Vector2D proj_pos = _proj.get_pos(); + printf("proj pos = %f %f \n", proj_pos.x, proj_pos.y); } \ No newline at end of file