Fixed boat colour, was in the wrong constructor

#story[377]
This commit is contained in:
zyt10
2017-03-20 16:03:07 +13:00
parent b88cf6a101
commit cc04e2dd6d
+1 -1
View File
@@ -20,7 +20,6 @@ public class Boat {
this.lat = 0.0; this.lat = 0.0;
this.lon = 0.0; this.lon = 0.0;
this.distanceToNextMark = 0.0; this.distanceToNextMark = 0.0;
this.color = Colors.getColor();
} }
/** /**
@@ -33,6 +32,7 @@ public class Boat {
this.teamName = teamName; this.teamName = teamName;
this.velocity = boatVelocity; this.velocity = boatVelocity;
this.distanceToNextMark = 0.0; this.distanceToNextMark = 0.0;
this.color = Colors.getColor();
} }
/** /**