summaryrefslogtreecommitdiffstats
path: root/labb4/Robot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'labb4/Robot.cpp')
-rw-r--r--labb4/Robot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/labb4/Robot.cpp b/labb4/Robot.cpp
index 444f938..6cc3c4c 100644
--- a/labb4/Robot.cpp
+++ b/labb4/Robot.cpp
@@ -8,7 +8,7 @@
Robot::Robot() : Unit() {}
-void Robot::draw(QGraphicsScene *scene) const {
+void Robot::draw(QGraphicsScene* scene) const {
Point corner = asPoint();
scene->addEllipse(QRectF(corner.x * UNIT_WIDTH, corner.y * UNIT_HEIGHT,
JUNK_RADIUS, JUNK_RADIUS), QPen(), QBrush(ROBOT_COLOR));