Displayed information for all boats.

This commit is contained in:
cbt24
2017-03-06 17:02:18 +13:00
parent 00bd194361
commit 377683ef8c
+1 -2
View File
@@ -26,8 +26,7 @@ public class App
RaceMarker mark5 = new RaceMarker("Leeward Gate", 480, 240, 0);
RaceMarker mark6 = new RaceMarker("Finish", 600, 360, 0);
Boat[] all_boats = {boat1, boat2, boat3, boat4, boat5, boat6};
Boat[] boats = {all_boats[0], all_boats[1]};
Boat[] boats = {boat1, boat2, boat3, boat4, boat5, boat6};
RaceMarker[] marks = {mark1, mark2, mark3, mark4, mark5, mark6};
Race race = new ConstantVelocityRace(boats, marks);