From caf4804c38069bac0b073ad3b7aeb3614e719fd6 Mon Sep 17 00:00:00 2001 From: malak585 Date: Thu, 9 Nov 2023 15:39:59 +0100 Subject: [PATCH] Added bottle class --- src/Bottle.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/Bottle.h b/src/Bottle.h index e69de29..ebaa468 100644 --- a/src/Bottle.h +++ b/src/Bottle.h @@ -0,0 +1,24 @@ +#include "Static_object.h" +#include + + +#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 -- 2.30.2