Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <GameDev2D.h>
  4.  
  5.  
  6. namespace GameDev2D
  7. {
  8. class Game
  9. {
  10. public:
  11. Game();
  12. ~Game();
  13.  
  14. void Update(double delta);
  15. void Draw();
  16.  
  17. void HandleLeftMouseClick(float x, float y);
  18. void HandleRightMouseClick(float x, float y);
  19.  
  20. void HandleKeyPress(Keyboard::Key key);
  21.  
  22. private:
  23. float x_position;
  24. float y_position;
  25. float target_x;
  26. float target_y;
  27. float ship_speed_x;
  28. float ship_speed_y;
  29. float displacement_x;
  30. float displacement_y;
  31. float distance_x;
  32. float distance_y;
  33. };
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement