Merge branch 'story_61' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into story_61

main
fjc40 8 years ago
commit 41b0a5d7f7

@ -358,15 +358,15 @@ public class ResizableRaceCanvas extends ResizableCanvas {
//The x coordinates of each vertex of the boat.
double[] x = {
pos.getX() - 12,
pos.getX() - 9,
pos.getX(),
pos.getX() + 12 };
pos.getX() + 9 };
//The y coordinates of each vertex of the boat.
double[] y = {
pos.getY() + 24,
pos.getY() - 24,
pos.getY() + 24 };
pos.getY() + 15,
pos.getY() - 15,
pos.getY() + 15 };
//The above shape is essentially a triangle 24px wide, and 48 long.

Loading…
Cancel
Save