package seng302.Mock; import javafx.scene.paint.Color; import seng302.GPSCoordinate; import seng302.Model.Boat; import seng302.Model.BoatInRace; /** * Created by Joseph on 24/04/2017. */ public class StreamedBoat extends BoatInRace { private int sourceID; private boolean complete; public StreamedBoat(int sourceID, String name, Color colour, String abbrev) { super(name, colour, abbrev); this.sourceID = sourceID; this.complete = true; } public StreamedBoat(int sourceID) { super("None", Color.BLACK, "None"); this.sourceID = sourceID; this.complete = false; } /** * Overridden to ignore this function * @deprecated * @return 0 */ public double getScaledVelocity() { return 0; } /** * Overridden to ignore this function * @deprecated * @param velocity of boat */ public void setScaledVelocity(double velocity) { } }