From 00b84ef1485204e03395e7c90634bc7de16cd9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 10 Nov 2020 14:57:44 +0100 Subject: comments and cleanup --- labb4/Junk.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'labb4/Junk.cpp') diff --git a/labb4/Junk.cpp b/labb4/Junk.cpp index 86493c7..5c467da 100644 --- a/labb4/Junk.cpp +++ b/labb4/Junk.cpp @@ -15,20 +15,6 @@ void Junk::draw(QGraphicsScene *scene) const { JUNK_RADIUS, JUNK_RADIUS), QPen(), QBrush(JUNK_COLOR)); } -void Junk::moveTowards(const Unit&) {} - -bool Junk::attacks(const Unit&) const { - return false; -} - -unsigned int Junk::getCollisionCount() const { - return 1; -}; - -bool Junk::alive() const { - return false; -} - Junk *Junk::clone() const { return new Junk(*this); } -- cgit v1.2.1