summaryrefslogtreecommitdiffstats
path: root/labb4/Robot.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb4/Robot.h')
-rw-r--r--labb4/Robot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/labb4/Robot.h b/labb4/Robot.h
index cf05fab..6f68e9b 100644
--- a/labb4/Robot.h
+++ b/labb4/Robot.h
@@ -12,6 +12,7 @@
class Robot : public Unit {
public:
Robot();
+ virtual ~Robot() {};
virtual void draw(QGraphicsScene* scene) const;
virtual void moveTowards(const Unit& u);