Merge branch 'wake_remake' of /home/cosc/student/wmu16/Documents/300/SENG302/team-13 with conflicts.

This commit is contained in:
William Muir
2017-05-01 22:00:12 +12:00
parent 3adadcc1e1
commit 944755fde1
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -31,16 +31,16 @@ public class App extends Application
}
if (args.length > 1){
sr = new StreamReceiver("localhost", 8085, "RaceStream");
sr = new StreamReceiver("localhost", 8085, "TestThread1");
}
else{
sr = new StreamReceiver("csse-s302staff.canterbury.ac.nz", 4941,"RaceStream");
// sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream");
// sr = new StreamReceiver("localhost", 8085, "RaceStream");
// sr = new StreamReceiver("csse-s302staff.canterbury.ac.nz", 4941,"TestThread1");
// sr = new StreamReceiver("livedata.americascup.com", 4941, "TestThread1");
sr = new StreamReceiver("localhost", 8085, "TestThread1");
}
sr.start();
StreamParser streamParser = new StreamParser("StreamParser");
StreamParser streamParser = new StreamParser("TestThread2");
streamParser.start();
launch(args);
+1 -1
View File
@@ -152,7 +152,7 @@ public class Race {
/**
* Set a boat as finished
* @param boat The boat that has finished the race
* @param boat The boat that has finished the race/home/cosc/student/wmu16
*/
public void setBoatFinished(Boat boat){
this.finishingOrder.add(boat);