Merge branch 'splitIntoTwoModules' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into splitIntoTwoModules

This commit is contained in:
Erika Savell
2017-05-04 13:44:56 +12:00
16 changed files with 149 additions and 42 deletions
@@ -85,6 +85,11 @@ public class MockOutput implements Runnable
/**
* Used to give the mocOutput information about boat location to be made into a message and sent
* @param sourceID id of the boat
* @param lat latitude of boat
* @param lon longitude of boat
* @param heading heading of boat
* @param speed speed of boat
*/
public synchronized void parseBoatLocation(int sourceID, double lat, double lon, double heading, double speed){
+2 -2
View File
@@ -111,8 +111,8 @@ public class Race implements Runnable {
AnimationTimer timer = new AnimationTimer() {
long currentTime = System.currentTimeMillis();
long startTime = currentTime + (PRERACE_TIME / scaleFactor);
long minutes;
long hours;
//long minutes;
//long hours;
long timeLeft;
@Override
@@ -93,6 +93,4 @@ public class BoatTest {
TEST_BOAT.setCurrentLeg(start);
assertEquals(TEST_BOAT.calculateHeading(), 270, 1e-8);
}
}