Fixed race timer to display real race time, and made race time scalable.

#story[445]
This commit is contained in:
Haoming Yin
2017-03-30 16:12:01 +13:00
parent b252797e9b
commit 971a3920a3
5 changed files with 14 additions and 12 deletions
@@ -150,7 +150,7 @@ public class CanvasController {
*/
private void drawWake(GraphicsContext gc, double x, double y, double speed, Color color, double heading){
double angle = Math.toRadians(heading);
speed = speed * 10;
speed = speed * 2;
Point newP = new Point(0, speed);
newP.rotate(angle);