adding java doc tags

#story[782]
This commit is contained in:
hba56
2017-05-04 13:11:14 +12:00
parent 5ebd4251e2
commit 810c3837c1
@@ -92,6 +92,11 @@ public class StreamedRace extends Race {
}
}
/**
* sets the position of a boat from coordinate
* @param boat the boat to set
* @param coordinate the position of the boat
*/
protected void setPosition(Boat boat, GPSCoordinate coordinate) {
boat.setCurrentPosition(coordinate);
}