Reworking card types in preparation for implementing Grist, the Hunger Tide (#7899)

Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
This commit is contained in:
Evan Kranzler 2021-07-08 23:28:43 -04:00 committed by GitHub
parent 07e1dff10c
commit 572104b8fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1159 changed files with 2704 additions and 2203 deletions

View file

@ -44,7 +44,7 @@ public class Dungeon implements CommandObject {
dungeonNames.add("Dungeon of the Mad Mage");
}
private static final ArrayList<CardType> emptySet = new ArrayList<>(Arrays.asList(CardType.DUNGEON));
private static final List<CardType> emptySet = Arrays.asList(CardType.DUNGEON);
private static final ObjectColor emptyColor = new ObjectColor();
private static final ManaCosts<ManaCost> emptyCost = new ManaCostsImpl<>();
@ -217,7 +217,7 @@ public class Dungeon implements CommandObject {
}
@Override
public ArrayList<CardType> getCardType() {
public List<CardType> getCardType(Game game) {
return emptySet;
}