summaryrefslogtreecommitdiffstats
path: root/labb4/Junk.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-11-10 01:35:03 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-11-10 01:35:03 +0100
commit9cc46300dba5c1e53a26415507c4d08addfd89eb (patch)
tree65e69e4e69eda4b19c0c047dab466cf4b4b9e87e /labb4/Junk.h
parentfc151ff1e1c862f5b40dc028c293ce083695d78c (diff)
downloadtddd86-9cc46300dba5c1e53a26415507c4d08addfd89eb.tar.gz
warnings etc
Diffstat (limited to 'labb4/Junk.h')
-rw-r--r--labb4/Junk.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/labb4/Junk.h b/labb4/Junk.h
index c520e9f..e8c028f 100644
--- a/labb4/Junk.h
+++ b/labb4/Junk.h
@@ -17,17 +17,17 @@ public:
/*
* Draws this junk onto the given QGraphicsScene.
*/
- void draw(QGraphicsScene* scene) const;
+ void draw(QGraphicsScene* scene) const override;
- void moveTowards(const Unit& u);
+ void moveTowards(const Unit& u) override;
- bool attacks(const Unit& u) const;
+ bool attacks(const Unit& u) const override;
- unsigned int getCollisionCount() const;
+ unsigned int getCollisionCount() const override;
- bool alive() const;
+ bool alive() const override;
- Junk *clone() const;
+ Junk *clone() const override;
};
#endif // JUNK_H