Displayed information for all boats.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user