Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <GameDev2D.h>
- namespace GameDev2D
- {
- class Game
- {
- public:
- Game();
- ~Game();
- void Update(double delta);
- void Draw();
- void HandleLeftMouseClick(float x, float y);
- void HandleRightMouseClick(float x, float y);
- void HandleKeyPress(Keyboard::Key key);
- private:
- float x_position;
- float y_position;
- float target_x;
- float target_y;
- float ship_speed_x;
- float ship_speed_y;
- float displacement_x;
- float displacement_y;
- float distance_x;
- float distance_y;
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement