mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Removed broken time extracting method and replaced it with currently existing long extractor. Added speed to the setDestination method for the raceObject abstract class.
#story[820]
This commit is contained in:
@@ -31,16 +31,16 @@ public class App extends Application
|
||||
}
|
||||
|
||||
if (args.length > 1){
|
||||
sr = new StreamReceiver("localhost", 8085, "TestThread1");
|
||||
sr = new StreamReceiver("localhost", 8085, "RaceStream");
|
||||
}
|
||||
else{
|
||||
//StreamReceiver 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 = new StreamReceiver("csse-s302staff.canterbury.ac.nz", 4941,"RaceStream");
|
||||
sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream");
|
||||
// sr = new StreamReceiver("localhost", 8085, "RaceStream");
|
||||
}
|
||||
|
||||
sr.start();
|
||||
StreamParser streamParser = new StreamParser("TestThread2");
|
||||
StreamParser streamParser = new StreamParser("StreamParser");
|
||||
streamParser.start();
|
||||
|
||||
launch(args);
|
||||
|
||||
Reference in New Issue
Block a user