You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
652 B

package seng302;
/**
* Created by cbt24 on 6/03/17.
*/
public class RaceMarker {
String name;
double distance;
double latitude;
double longitude;
public RaceMarker(String name, double distance, double latitude, double longitude) {
this.name = name;
this.distance = distance;
this.latitude = latitude;
this.longitude = longitude;
}
public double getDistance() {
return distance;
}
public double getLatitude() {
return latitude;
}
public double getLongitude() {
return longitude;
}
public String toString() {
return name;
}
}