Fixed velocity issues with mock data

-Was accidentally sending scaled velocity

#story[778]
This commit is contained in:
Erika Savell
2017-05-04 10:16:10 +12:00
parent 8886b5db05
commit eb58581e83
5 changed files with 3 additions and 12 deletions
@@ -84,9 +84,7 @@ public class ResizableRaceCanvas extends Canvas {
}
public void displayBoat(Boat boat, double angle, Color colour) {
GraphCoordinate pos = this.map.convertGPS(boat.getCurrentPosition());/*
System.out.println(String.format("x%s y%s", pos.getX(), pos.getY()));
System.exit(0);*/
GraphCoordinate pos = this.map.convertGPS(boat.getCurrentPosition());
Paint paint = colour;
double[] x = {pos.getX() - 6, pos.getX(), pos.getX() + 6};