projects
/
TDDC76_proj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee3990
)
Added Helper.h /stina + Alma
author
Alma Dejus
<almde515@student.liu.se>
Thu, 9 Nov 2023 15:00:41 +0000
(16:00 +0100)
committer
Alma Dejus
<almde515@student.liu.se>
Thu, 9 Nov 2023 15:00:41 +0000
(16:00 +0100)
src/Helper.h
patch
|
blob
|
history
diff --git
a/src/Helper.h
b/src/Helper.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ea8f68c1f2536337ca4ddbfe4e1471b1bc3b534c 100644
(file)
--- a/
src/Helper.h
+++ b/
src/Helper.h
@@
-0,0
+1,24
@@
+#ifndef HELPER_H
+#define HELPER_H
+
+#include <SFML/Graphics.hpp>
+
+#include "Autonomus_object.h
+
+#include <vector>
+
+class Helper : public Autonomus_object
+{
+ public:
+ bool collides(Object& other) override;
+ void collision(Object& other) override;
+ void update() override;
+ void render(sf::RenderWindow& window) override;
+
+ protected:
+ void move(Time) override;
+
+ private:
+}
+
+#endif
\ No newline at end of file