Implementing the boats movement throught a race

-Not complete! Still need to create function to calculate new coordinates
-Doesn't run because of problems with resource folder

#refactor
This commit is contained in:
Erika Savell
2017-03-15 16:59:55 +13:00
parent b73fee2cb5
commit 6f509e25ea
11 changed files with 118 additions and 176 deletions
+22
View File
@@ -0,0 +1,22 @@
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;
}
}