Merge branch 'story_61' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into story_61
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user