summaryrefslogtreecommitdiff
path: root/src/shot.h
diff options
context:
space:
mode:
authorNikolas <nikolas@boutalas.com>2024-10-27 12:52:55 +0200
committerNikolas <nikolas@boutalas.com>2024-10-27 12:52:55 +0200
commit43394c8a8908442982e3a7e25975c31b3c952923 (patch)
tree2facd563e29f48fe3b0653ac5c113998940b4d5e /src/shot.h
Diffstat (limited to 'src/shot.h')
-rw-r--r--src/shot.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/shot.h b/src/shot.h
new file mode 100644
index 0000000..55c156d
--- /dev/null
+++ b/src/shot.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "movinggameobject.h"
+
+using namespace std;
+
+class Shot : public MovingGameObject {
+
+public:
+
+ Shot(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed);
+ virtual ~Shot();
+
+ void update();
+
+}; \ No newline at end of file