1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-16 12:28:15 -05:00

Scavenger client now knows about the riddle URL

This commit is contained in:
Bradlee Speice 2014-04-19 23:22:20 -04:00
parent 6d088e24d3
commit b12a4022f5

View File

@ -18,7 +18,7 @@ public class RestLocation implements Serializable{
private String riddle; private String riddle;
private double locationLong; private double locationLong;
private double locationLat; private double locationLat;
private String locationImageURL; private String riddleImageURL;
private String key; private String key;
public int getId() { public int getId() {
@ -57,13 +57,13 @@ public class RestLocation implements Serializable{
public void setKey(String key) { public void setKey(String key) {
this.key = key; this.key = key;
} }
public String getRiddleImageURL() {
return riddleImageURL;
}
public void setRiddleImageURL(String riddleImageURL) {
this.riddleImageURL = riddleImageURL;
}
public String getLocationImageURL() {
return locationImageURL;
}
public void setLocationImageURL(String locationImageURL) {
this.locationImageURL = locationImageURL;
}
public Location getLocation() { public Location getLocation() {
android.location.Location mLocation = new android.location.Location("NinerFinderServer"); android.location.Location mLocation = new android.location.Location("NinerFinderServer");
mLocation.setLatitude(getLocationLat()); mLocation.setLatitude(getLocationLat());