Starting new wake implementation.

This commit is contained in:
Calum
2017-04-28 17:08:08 +12:00
parent d1289b0de1
commit 765f27f987
4 changed files with 143 additions and 44 deletions
@@ -156,7 +156,7 @@ public class MarkGroup extends RaceObject {
super.getTransforms().add(new Rotate(rotation, 0 , 0));
}
public void updatePosition (double timeInterval) {
public void updatePosition (long timeInterval) {
double x = pixelVelocityX * timeInterval;
double y = pixelVelocityY * timeInterval;
double rotation = rotationalVelocity * timeInterval;