gautrais 7 éve
szülő
commit
7133de378f

+ 0 - 36
app/src/main/java/app/mar/game/challenges/ARTreasure.java

@@ -1,36 +0,0 @@
-package app.mar.game.challenges;
-
-import android.app.Activity;
-
-import org.json.JSONException;
-import org.json.JSONObject;
-
-import app.mar.activities.ARActivity;
-import app.mar.game.Area;
-import app.mar.game.Game;
-
-public class ARTreasure extends Treasure implements IGeoTreasure {
-    protected Area mArea;
-    public static final int REQUEST_CODE=2001;
-
-    public int getResultCode() { return REQUEST_CODE; }
-
-    public ARTreasure(Game g, JSONObject root, Activity act) {
-        super(g, root, ARActivity.class, act);
-
-        try
-        {
-            mArea = new Area(g, root.getJSONObject("area"), act);
-        }
-        catch(JSONException e)
-        {
-            e.printStackTrace();
-        }
-    }
-
-
-
-    public Area getArea() {
-        return mArea;
-    }
-}

+ 0 - 31
app/src/main/java/app/mar/game/challenges/QRCodeGeoTreasure.java

@@ -1,31 +0,0 @@
-package app.mar.game.challenges;
-
-import android.app.Activity;
-
-import org.json.JSONException;
-import org.json.JSONObject;
-
-import app.mar.game.Area;
-import app.mar.game.Game;
-
-public class QRCodeGeoTreasure extends QRCodeTreasure implements IGeoTreasure {
-    protected Area mArea;
-
-
-    public QRCodeGeoTreasure(Game g, JSONObject root, Activity a) {
-        super(g, root, a);
-        try
-        {
-            mArea = new Area(g, root.getJSONObject("area"), a);
-        }
-        catch(JSONException e)
-        {
-            e.printStackTrace();
-        }
-    }
-
-    @Override
-    public Area getArea() {
-        return mArea;
-    }
-}