From cc04e2dd6d2e1a1f8a65b2229983d3218d58c444 Mon Sep 17 00:00:00 2001 From: zyt10 Date: Mon, 20 Mar 2017 16:03:07 +1300 Subject: [PATCH] Fixed boat colour, was in the wrong constructor #story[377] --- src/main/java/seng302/models/Boat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seng302/models/Boat.java b/src/main/java/seng302/models/Boat.java index 8deb5339..af1bb559 100644 --- a/src/main/java/seng302/models/Boat.java +++ b/src/main/java/seng302/models/Boat.java @@ -20,7 +20,6 @@ public class Boat { this.lat = 0.0; this.lon = 0.0; this.distanceToNextMark = 0.0; - this.color = Colors.getColor(); } /** @@ -33,6 +32,7 @@ public class Boat { this.teamName = teamName; this.velocity = boatVelocity; this.distanceToNextMark = 0.0; + this.color = Colors.getColor(); } /**