summaryrefslogtreecommitdiffstats
path: root/labb4/Junk.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb4/Junk.h')
-rw-r--r--labb4/Junk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/labb4/Junk.h b/labb4/Junk.h
index a4d6cca..730a766 100644
--- a/labb4/Junk.h
+++ b/labb4/Junk.h
@@ -19,11 +19,13 @@ public:
*/
void draw(QGraphicsScene* scene) const;
- void moveTowards(const Unit& u) const;
+ void moveTowards(const Unit& u);
bool attacks(const Unit& u) const;
unsigned int getCollisionCount() const;
+
+ bool alive() const;
};
#endif // JUNK_H