Story 3 complete added all AC35 Teams into the program.

This commit is contained in:
Fan-Wu Yang
2017-03-03 11:38:35 +13:00
parent 987dcdac01
commit 02cc98b0b6
2 changed files with 9 additions and 4 deletions
+8 -3
View File
@@ -5,9 +5,14 @@ public class App
{
public static void main( String[] args )
{
Boat boat1 = new Boat("New Zealand");
Boat boat2 = new Boat("America");
Boat[] boats = {boat1, boat2};
Boat boat1 = new Boat("ORACLE TEAM USA");
Boat boat2 = new Boat("Artemis Racing");
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 finish = new Event("Finish", boats);