diff options
Diffstat (limited to 'labb4/Junk.h')
| -rw-r--r-- | labb4/Junk.h | 12 |
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 |
