summaryrefslogtreecommitdiffstats
path: root/labb4/Robot.cpp
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-11-10 14:57:44 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-11-10 14:57:44 +0100
commit00b84ef1485204e03395e7c90634bc7de16cd9fb (patch)
treeaf7c08bba9908d61d6076a93ee7a2c83773f201d /labb4/Robot.cpp
parent01862f6b40c0f8fbc0123f1ac5140a406c268251 (diff)
downloadtddd86-00b84ef1485204e03395e7c90634bc7de16cd9fb.tar.gz
comments and cleanup
Diffstat (limited to 'labb4/Robot.cpp')
-rw-r--r--labb4/Robot.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/labb4/Robot.cpp b/labb4/Robot.cpp
index f4c7fb3..444f938 100644
--- a/labb4/Robot.cpp
+++ b/labb4/Robot.cpp
@@ -18,14 +18,6 @@ void Robot::moveTowards(const Unit& u) {
Unit::moveTowards(u);
}
-unsigned int Robot::getCollisionCount() const {
- return 1;
-};
-
-bool Robot::alive() const {
- return true;
-}
-
Robot *Robot::clone() const {
return new Robot(*this);
}