diff options
Diffstat (limited to 'labb4/Junk.cpp')
| -rw-r--r-- | labb4/Junk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/labb4/Junk.cpp b/labb4/Junk.cpp index 2276240..86493c7 100644 --- a/labb4/Junk.cpp +++ b/labb4/Junk.cpp @@ -15,9 +15,9 @@ void Junk::draw(QGraphicsScene *scene) const { JUNK_RADIUS, JUNK_RADIUS), QPen(), QBrush(JUNK_COLOR)); } -void Junk::moveTowards(const Unit& u) {} +void Junk::moveTowards(const Unit&) {} -bool Junk::attacks(const Unit& u) const { +bool Junk::attacks(const Unit&) const { return false; } |
