Sails can be toggled on the visualiser and the rotate sails button rotates the sail visually. #story[1098]
This commit is contained in:
@@ -90,6 +90,10 @@ public class Boat {
|
||||
@Nullable
|
||||
private ZonedDateTime timeAtLastMark;
|
||||
|
||||
/**
|
||||
* The state of the boats sails. True if sails are out.
|
||||
*/
|
||||
private boolean sailsOut = false;
|
||||
|
||||
/**
|
||||
* Constructs a boat object with a given sourceID, name, country/team abbreviation, and polars table.
|
||||
@@ -395,4 +399,11 @@ public class Boat {
|
||||
this.timeAtLastMark = timeAtLastMark;
|
||||
}
|
||||
|
||||
public void setSailsOut(boolean sailsOut) {
|
||||
this.sailsOut = sailsOut;
|
||||
}
|
||||
|
||||
public boolean isSailsOut() {
|
||||
return sailsOut;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user