diff options
author | Nikolas <nikolas@boutalas.com> | 2024-10-27 12:52:55 +0200 |
---|---|---|
committer | Nikolas <nikolas@boutalas.com> | 2024-10-27 12:52:55 +0200 |
commit | 43394c8a8908442982e3a7e25975c31b3c952923 (patch) | |
tree | 2facd563e29f48fe3b0653ac5c113998940b4d5e /src/player.h |
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h new file mode 100644 index 0000000..15f2f15 --- /dev/null +++ b/src/player.h @@ -0,0 +1,20 @@ +#pragma once + +#include "movinggameobject.h" +#include <string> + +using namespace std; + +class Player : public MovingGameObject { + + float last_time_shot; + +public: + + Player(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed); + virtual ~Player(); + + void update() override; + void draw() override; + +};
\ No newline at end of file |