mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed boat colour, was in the wrong constructor
#story[377]
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user