summaryrefslogtreecommitdiff
path: root/src/movinggameobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/movinggameobject.h')
-rw-r--r--src/movinggameobject.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/movinggameobject.h b/src/movinggameobject.h
new file mode 100644
index 0000000..5c48297
--- /dev/null
+++ b/src/movinggameobject.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "gameobject.h"
+#include <string>
+
+using namespace std;
+
+class MovingGameObject : public GameObject {
+
+ float speed;
+
+public:
+
+ MovingGameObject(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed);
+ virtual ~MovingGameObject();
+
+ float getSpeed();
+
+}; \ No newline at end of file