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/Junk.cpp | |
| parent | 00b84ef1485204e03395e7c90634bc7de16cd9fb (diff) | |
| download | tddd86-de4e4f7694bb4ba07f543b214c67b85f0a3f0d49.tar.gz | |
consistent formatting
Diffstat (limited to 'labb4/Junk.cpp')
| -rw-r--r-- | labb4/Junk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/labb4/Junk.cpp b/labb4/Junk.cpp index 5c467da..6e80a06 100644 --- a/labb4/Junk.cpp +++ b/labb4/Junk.cpp @@ -9,7 +9,7 @@ Junk::Junk() : Robot() {} Junk::Junk(Robot c) : Robot(c) {} -void Junk::draw(QGraphicsScene *scene) const { +void Junk::draw(QGraphicsScene* scene) const { Point corner = asPoint(); scene->addEllipse(QRectF(corner.x * UNIT_WIDTH, corner.y * UNIT_HEIGHT, JUNK_RADIUS, JUNK_RADIUS), QPen(), QBrush(JUNK_COLOR)); |
