From b4b3bc496fc834de88b08f3719dd6862a45ea3e7 Mon Sep 17 00:00:00 2001 From: lukel495 Date: Thu, 9 Nov 2023 15:43:59 +0100 Subject: [PATCH] =?utf8?q?la=20till=20skelett=20f=C3=B6r=20Statc=5Fobject?= =?utf8?q?=20klassen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/Static_object.cc | 1 + src/Static_object.h | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/src/Static_object.cc b/src/Static_object.cc index e69de29..4c1e9f2 100644 --- a/src/Static_object.cc +++ b/src/Static_object.cc @@ -0,0 +1 @@ +#include Static_object.h \ No newline at end of file diff --git a/src/Static_object.h b/src/Static_object.h index e69de29..ca7994c 100644 --- a/src/Static_object.h +++ b/src/Static_object.h @@ -0,0 +1,24 @@ +#ifndef STATIC_OBJECT_H +#define STATIC_OBJECT_H + +#include +#include + +class Static_obejct : public Object +{ +public: + { + Static_object() = default; + virtual ~Static_object() = default; + virtual bool collides(Object & other) = 0; + virtual void collision(Object & other) = 0; + virtual void update() = 0; + virtual void render(sf::RenderWindow & window) = 0; + } + +private: + { + } +}; + +#endif \ No newline at end of file -- 2.30.2