|
|
|
|
@ -1,11 +1,15 @@
|
|
|
|
|
package seng302.Mock;
|
|
|
|
|
|
|
|
|
|
import seng302.*;
|
|
|
|
|
import seng302.Controllers.RaceController;
|
|
|
|
|
import seng302.Model.*;
|
|
|
|
|
import seng302.GPSCoordinate;
|
|
|
|
|
import seng302.Model.Boat;
|
|
|
|
|
import seng302.Model.Leg;
|
|
|
|
|
import seng302.Model.Marker;
|
|
|
|
|
import seng302.Model.Race;
|
|
|
|
|
import seng302.Networking.Utils.BoatStatusMessage;
|
|
|
|
|
import seng302.Networking.Utils.Enums.BoatStatus;
|
|
|
|
|
import seng302.Networking.Utils.BoatLocationMessage;
|
|
|
|
|
import seng302.VisualiserInput;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Created by jjg64 on 21/04/17.
|
|
|
|
|
@ -48,7 +52,6 @@ public class StreamedRace extends Race {
|
|
|
|
|
*
|
|
|
|
|
* @param boat Boat that the position is to be updated for.
|
|
|
|
|
* @param timeElapsed Time that has elapse since the start of the the race.
|
|
|
|
|
* @see BoatInRace
|
|
|
|
|
*/
|
|
|
|
|
protected void checkPosition(Boat boat, long timeElapsed) {
|
|
|
|
|
StreamedCourse raceData = visualiserInput.getCourse();
|
|
|
|
|
|