diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-11-10 15:02:21 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-11-10 15:02:21 +0100 |
| commit | de4e4f7694bb4ba07f543b214c67b85f0a3f0d49 (patch) | |
| tree | fb78d8905d42e09a6d3201d4ef7d0abcc19b03b8 /labb4/Robot.cpp | |
| parent | 00b84ef1485204e03395e7c90634bc7de16cd9fb (diff) | |
| download | tddd86-de4e4f7694bb4ba07f543b214c67b85f0a3f0d49.tar.gz | |
consistent formatting
Diffstat (limited to 'labb4/Robot.cpp')
| -rw-r--r-- | labb4/Robot.cpp | 2 |
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)); |
