1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-08 16:38:14 -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 double locationLong;
private double locationLat;
private String locationImageURL;
private String riddleImageURL;
private String key;
public int getId() {
@ -57,13 +57,13 @@ public class RestLocation implements Serializable{
public void setKey(String key) {
this.key = key;
}
public String getLocationImageURL() {
return locationImageURL;
public String getRiddleImageURL() {
return riddleImageURL;
}
public void setLocationImageURL(String locationImageURL) {
this.locationImageURL = locationImageURL;
public void setRiddleImageURL(String riddleImageURL) {
this.riddleImageURL = riddleImageURL;
}
public Location getLocation() {
android.location.Location mLocation = new android.location.Location("NinerFinderServer");
mLocation.setLatitude(getLocationLat());