From fc151ff1e1c862f5b40dc028c293ce083695d78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 10 Nov 2020 00:57:06 +0100 Subject: gamestate cc, polymorphic clone --- labb4/Junk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'labb4/Junk.h') diff --git a/labb4/Junk.h b/labb4/Junk.h index 730a766..c520e9f 100644 --- a/labb4/Junk.h +++ b/labb4/Junk.h @@ -26,6 +26,8 @@ public: unsigned int getCollisionCount() const; bool alive() const; + + Junk *clone() const; }; #endif // JUNK_H -- cgit v1.2.1