added a markpos value to event for use in displaying the team positions #story[426]

This commit is contained in:
Peter
2017-03-23 21:19:39 +13:00
parent 8578bc4a5b
commit bb8c681270
6 changed files with 61 additions and 46 deletions
+9
View File
@@ -13,6 +13,7 @@ public class Boat {
private double lon; // -
private double distanceToNextMark;
private Color color;
private int markLastPast;
public Boat(String teamName) {
this.teamName = teamName;
@@ -97,4 +98,12 @@ public class Boat {
public Color getColor() {
return color;
}
public void setMarkLastPast(int markLastPast) {
this.markLastPast = markLastPast;
}
public int getMarkLastPast() {
return markLastPast;
}
}