From b12a4022f545420bf5402f7a270350421a418c3f Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 19 Apr 2014 23:22:20 -0400 Subject: [PATCH] Scavenger client now knows about the riddle URL --- .../src/edu/uncc/scavenger/rest/RestLocation.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java b/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java index 89bb078..cea4050 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/rest/RestLocation.java @@ -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());