aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts/cardbase/gui/CardImageView.java
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2015-06-18 18:11:31 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2015-06-18 18:11:31 +0200
commit231906701e8cf5b00058e23e6a666a2f9a3e566e (patch)
tree3c28ad82f44dde8439223d353496e7447108c589 /src/eu/equalparts/cardbase/gui/CardImageView.java
parentff08a196fe98790d78ee7f5b26b9f367f9fa5a68 (diff)
GUI is under way, 1.0 release
Diffstat (limited to 'src/eu/equalparts/cardbase/gui/CardImageView.java')
-rw-r--r--src/eu/equalparts/cardbase/gui/CardImageView.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/eu/equalparts/cardbase/gui/CardImageView.java b/src/eu/equalparts/cardbase/gui/CardImageView.java
deleted file mode 100644
index 7c79c6a..0000000
--- a/src/eu/equalparts/cardbase/gui/CardImageView.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package eu.equalparts.cardbase.gui;
-
-import eu.equalparts.cardbase.data.Card;
-import javafx.scene.image.ImageView;
-
-public class CardImageView extends ImageView {
-
- private static final String BASE_IMG_URL = "http://magiccards.info/scans/en/";
-
- public CardImageView(Card card) {
- super(makeUrl(card));
- }
-
- public static String makeUrl(Card card) {
- return BASE_IMG_URL + card.imageCode + "/" + card.number + ".jpg";
- }
-
-}