-Not complete! Still need to create function to calculate new coordinates -Doesn't run because of problems with resource folder #refactor
23 lines
405 B
Java
23 lines
405 B
Java
package seng302;
|
|
|
|
/**
|
|
* Created by esa46 on 15/03/17.
|
|
*/
|
|
public class GPSCoordinate {
|
|
|
|
private double latitude;
|
|
private double longitude;
|
|
|
|
public GPSCoordinate(double latitude, double longitude) { this.latitude = latitude; this.longitude = longitude; }
|
|
|
|
public double getLatitude() {
|
|
return latitude;
|
|
}
|
|
|
|
public double getLongitude() {
|
|
return longitude;
|
|
}
|
|
|
|
}
|
|
|