mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Subtype Update for "Z" Cards.
Updated the subtypes for all implemented cards in the "Z" package. Corrected typo in the SubType enum for type BOAR. Added a varargs function to allow all creature types to be added in a single function call rather than 1-4.
This commit is contained in:
parent
e2ccc5c87f
commit
1daad30559
78 changed files with 288 additions and 246 deletions
|
|
@ -73,7 +73,7 @@ public enum SubType {
|
|||
BIRD("Bird", SubTypeSet.CreatureType, false),
|
||||
BITH("Bith", SubTypeSet.CreatureType, true), // Star Wars
|
||||
BLINKMOTH("Blinkmoth", SubTypeSet.CreatureType, false),
|
||||
BOARD("Boar", SubTypeSet.CreatureType, false),
|
||||
BOAR("Boar", SubTypeSet.CreatureType, false),
|
||||
BRINGER("Bringer", SubTypeSet.CreatureType, false),
|
||||
BRUSHWAGG("Brushwagg", SubTypeSet.CreatureType, false),
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ package mage.util;
|
|||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
|
|
@ -29,6 +30,10 @@ public class SubTypeList extends ArrayList<SubType> {
|
|||
return super.add(s);
|
||||
}
|
||||
|
||||
public boolean add(SubType... subTypes) {
|
||||
return Collections.addAll(this, subTypes);
|
||||
}
|
||||
|
||||
public boolean add(String s) {
|
||||
return add(SubType.byDescription(s));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue