changed cardtype from list to enumset

This commit is contained in:
ingmargoudt 2017-03-03 17:04:32 +01:00
parent c0ffc47bf7
commit 372584f7ad
22 changed files with 116 additions and 55 deletions

View file

@ -29,6 +29,8 @@
package mage.view;
import java.util.ArrayList;
import java.util.HashSet;
import mage.ObjectColor;
import mage.abilities.Ability;
@ -53,7 +55,7 @@ public class AbilityView extends CardView {
this.power = "";
this.toughness = "";
this.loyalty = "";
this.cardTypes = new ArrayList<>();
this.cardTypes = new HashSet<>();
this.subTypes = new ArrayList<>();
this.superTypes = new ArrayList<>();
this.color = new ObjectColor();