Removed BoatInRace from shared model, refactored

#story[778]
This commit is contained in:
Erika Savell
2017-05-01 15:06:56 +12:00
parent 7e569b59b7
commit 3f748bfdb6
15 changed files with 223 additions and 140 deletions
@@ -28,6 +28,8 @@ public class Boat {
protected StringProperty position;
protected boolean started = false;
private double wakeScale = 1 / 50;
private int sourceID;
protected Queue<TrackPoint> track = new ConcurrentLinkedQueue<>();
protected long nextValidTime = 0;
@@ -226,4 +228,8 @@ public class Boat {
public StringProperty getCurrentLegName() {
return currentLegName;
}
public int getSourceID() {
return this.sourceID;
}
}