|
|
|
@ -5,9 +5,14 @@ public class App
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public static void main( String[] args )
|
|
|
|
public static void main( String[] args )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Boat boat1 = new Boat("New Zealand");
|
|
|
|
Boat boat1 = new Boat("ORACLE TEAM USA");
|
|
|
|
Boat boat2 = new Boat("America");
|
|
|
|
Boat boat2 = new Boat("Artemis Racing");
|
|
|
|
Boat[] boats = {boat1, boat2};
|
|
|
|
Boat boat3 = new Boat("Emirates Team New Zealand");
|
|
|
|
|
|
|
|
Boat boat4 = new Boat("Groupama Team France");
|
|
|
|
|
|
|
|
Boat boat5 = new Boat("Land Rover BAR");
|
|
|
|
|
|
|
|
Boat boat6 = new Boat("SoftBank Team Japan");
|
|
|
|
|
|
|
|
Boat[] all_boats = {boat1, boat2, boat3, boat4, boat5, boat6};
|
|
|
|
|
|
|
|
Boat[] boats = {all_boats[0], all_boats[1]};
|
|
|
|
Event start = new Event("Start", boats);
|
|
|
|
Event start = new Event("Start", boats);
|
|
|
|
Event finish = new Event("Finish", boats);
|
|
|
|
Event finish = new Event("Finish", boats);
|
|
|
|
|
|
|
|
|
|
|
|
|