Added bottle class
authormalak585 <malak585@tlvm-4-4-2.ad.liu.se>
Thu, 9 Nov 2023 14:39:59 +0000 (15:39 +0100)
committermalak585 <malak585@tlvm-4-4-2.ad.liu.se>
Thu, 9 Nov 2023 14:39:59 +0000 (15:39 +0100)
src/Bottle.h

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ebaa46812a673b7244db29ed9954853c9f4a517b 100644 (file)
@@ -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