mirror of
https://github.com/bspeice/itcs4180
synced 2024-12-04 13:18:16 -05:00
Scavenger client now knows about the riddle URL
This commit is contained in:
parent
6d088e24d3
commit
b12a4022f5
@ -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() {
|
||||||
public String getLocationImageURL() {
|
return riddleImageURL;
|
||||||
return locationImageURL;
|
|
||||||
}
|
}
|
||||||
public void setLocationImageURL(String locationImageURL) {
|
public void setRiddleImageURL(String riddleImageURL) {
|
||||||
this.locationImageURL = locationImageURL;
|
this.riddleImageURL = riddleImageURL;
|
||||||
}
|
}
|
||||||
|
|
||||||
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());
|
||||||
|
Loading…
Reference in New Issue
Block a user