mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Merge remote-tracking branch 'refs/remotes/origin/master'
Conflicts: src/main/java/seng302/controllers/CanvasController.java src/main/java/seng302/models/Boat.java
This commit is contained in:
@@ -99,6 +99,10 @@ public class Boat {
|
||||
return color;
|
||||
}
|
||||
|
||||
public double getSpeedInKnots(){
|
||||
return Math.round((this.velocity * 1.94384) * 100d) / 100d;
|
||||
}
|
||||
|
||||
public void setMarkLastPast(int markLastPast) {
|
||||
this.markLastPast = markLastPast;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user