From: malak585 Date: Thu, 9 Nov 2023 14:39:59 +0000 (+0100) Subject: Added bottle class X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=caf4804c38069bac0b073ad3b7aeb3614e719fd6;p=TDDC76_proj.git Added bottle class --- 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