From bd072af0c42bac6ba7a1f5c760cb1caa0de772ba Mon Sep 17 00:00:00 2001 From: David Wu Date: Sun, 26 Mar 2017 18:47:44 +1300 Subject: [PATCH] Modified size of mark -Size of the mark changed to avoid confusion between mark and boats. --- src/main/java/seng302/Model/ResizableRaceCanvas.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/seng302/Model/ResizableRaceCanvas.java b/src/main/java/seng302/Model/ResizableRaceCanvas.java index 5021774a..a8962d05 100644 --- a/src/main/java/seng302/Model/ResizableRaceCanvas.java +++ b/src/main/java/seng302/Model/ResizableRaceCanvas.java @@ -74,7 +74,7 @@ public class ResizableRaceCanvas extends Canvas { */ public void displayMark(GraphCoordinate graphCoordinate, Paint paint) { gc.setFill(paint); - gc.fillOval(graphCoordinate.getX(), graphCoordinate.getY(), 15, 15); + gc.fillOval(graphCoordinate.getX(), graphCoordinate.getY(), 25, 25); } /** @@ -194,7 +194,7 @@ public class ResizableRaceCanvas extends Canvas { for (BoatInRace boat : boats) { if (boat != null) { // System.out.print("Drawing Boat At: " + boat.getCurrentPosition()); - displayMark(this.map.convertGPS(boat.getCurrentPosition()), boat.getColour()); + displayPoint(this.map.convertGPS(boat.getCurrentPosition()), boat.getColour()); if (raceAnno){ displayText(boat.getAbbrev(), boat.getVelocity(), this.map.convertGPS(boat.getCurrentPosition()));} }