Improved Emblem handling. Added a MageObjectType to CardView (in progress).

This commit is contained in:
LevelX2 2013-07-05 15:29:55 +02:00
parent b586518bef
commit 42dc0d142c
8 changed files with 171 additions and 70 deletions

View file

@ -59,9 +59,7 @@ public class CardsViewUtil {
CardsView cards = new CardsView();
for (EmblemView emblem : view) {
CardView cardView = new CardView(emblem.getName());
cardView.overrideRules(emblem.getRules());
cardView.setExpansionSetCode(emblem.getExpansionSetCode());
CardView cardView = new CardView(emblem);
cards.put(emblem.getId(), cardView);
}