diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-11-10 14:57:44 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-11-10 14:57:44 +0100 |
| commit | 00b84ef1485204e03395e7c90634bc7de16cd9fb (patch) | |
| tree | af7c08bba9908d61d6076a93ee7a2c83773f201d /labb4/Junk.cpp | |
| parent | 01862f6b40c0f8fbc0123f1ac5140a406c268251 (diff) | |
| download | tddd86-00b84ef1485204e03395e7c90634bc7de16cd9fb.tar.gz | |
comments and cleanup
Diffstat (limited to 'labb4/Junk.cpp')
| -rw-r--r-- | labb4/Junk.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
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); } |
