diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-11-10 01:35:03 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-11-10 01:35:03 +0100 |
| commit | 9cc46300dba5c1e53a26415507c4d08addfd89eb (patch) | |
| tree | 65e69e4e69eda4b19c0c047dab466cf4b4b9e87e /labb4/Junk.cpp | |
| parent | fc151ff1e1c862f5b40dc028c293ce083695d78c (diff) | |
| download | tddd86-9cc46300dba5c1e53a26415507c4d08addfd89eb.tar.gz | |
warnings etc
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; } |
