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:
f63129e
)
Added bottle class
author
malak585
<malak585@tlvm-4-4-2.ad.liu.se>
Thu, 9 Nov 2023 14:39:59 +0000
(15:39 +0100)
committer
malak585
<malak585@tlvm-4-4-2.ad.liu.se>
Thu, 9 Nov 2023 14:39:59 +0000
(15:39 +0100)
src/Bottle.h
patch
|
blob
|
history
diff --git
a/src/Bottle.h
b/src/Bottle.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ebaa46812a673b7244db29ed9954853c9f4a517b 100644
(file)
--- a/
src/Bottle.h
+++ b/
src/Bottle.h
@@
-0,0
+1,24
@@
+#include "Static_object.h"
+#include <SFML/Graphics.hpp>
+
+
+#ifndef BOTTLE_H
+#define BOTTLE_H
+
+
+class Bottle : Static_object
+{
+ public:
+ Object();
+ ~Object();
+
+ bool collides(Object& other) override;
+ void collision(Object& other) override;
+ void update() override;
+ void render(sf::RenderWindow& window) override;
+
+};
+
+
+
+#endif
\ No newline at end of file