mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
Fixed Yacht position initialise. TO-DO: check if the boat is participating before showing up on leaderboard.
This commit is contained in:
@@ -55,7 +55,6 @@ public class Yacht {
|
||||
this.velocity = boatVelocity;
|
||||
this.shortName = shortName;
|
||||
this.sourceID = id;
|
||||
this.position = "-";
|
||||
}
|
||||
|
||||
public Yacht(String boatType, Integer sourceID, String hullID, String shortName,
|
||||
@@ -66,6 +65,7 @@ public class Yacht {
|
||||
this.shortName = shortName;
|
||||
this.boatName = boatName;
|
||||
this.country = country;
|
||||
this.position = "-";
|
||||
}
|
||||
|
||||
public String getBoatType() {
|
||||
|
||||
Reference in New Issue
Block a user