mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Display team name and speed beside boat
- Also slowed down the AnimationTimer - Removed the need to scale the canvas Tags: #implement #story[18] #story[19]
This commit is contained in:
@@ -97,4 +97,8 @@ public class Boat {
|
||||
public Color getColor() {
|
||||
return color;
|
||||
}
|
||||
|
||||
public double getSpeedInKnots(){
|
||||
return Math.round((this.velocity * 1.94384) * 100d) / 100d;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user