mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Minor change.
This commit is contained in:
parent
1fb24116ae
commit
118665dfd4
1 changed files with 11 additions and 12 deletions
|
@ -2,22 +2,21 @@ package mage.constants;
|
|||
|
||||
import java.util.Arrays;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashSet;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
*/
|
||||
public enum CardType {
|
||||
ARTIFACT ("Artifact"),
|
||||
CONSPIRACY ("Conspiracy"),
|
||||
CREATURE ("Creature"),
|
||||
ENCHANTMENT ("Enchantment"),
|
||||
INSTANT ("Instant"),
|
||||
LAND ("Land"),
|
||||
PLANESWALKER ("Planeswalker"),
|
||||
SORCERY ("Sorcery"),
|
||||
TRIBAL ("Tribal");
|
||||
ARTIFACT("Artifact"),
|
||||
CONSPIRACY("Conspiracy"),
|
||||
CREATURE("Creature"),
|
||||
ENCHANTMENT("Enchantment"),
|
||||
INSTANT("Instant"),
|
||||
LAND("Land"),
|
||||
PLANESWALKER("Planeswalker"),
|
||||
SORCERY("Sorcery"),
|
||||
TRIBAL("Tribal");
|
||||
|
||||
private final String text;
|
||||
|
||||
|
@ -31,8 +30,8 @@ public enum CardType {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns all of the card types from two lists of card types.
|
||||
* Duplicates are eliminated.
|
||||
* Returns all of the card types from two lists of card types. Duplicates
|
||||
* are eliminated.
|
||||
*/
|
||||
public static CardType[] mergeTypes(CardType[] a, CardType[] b) {
|
||||
EnumSet<CardType> cardTypes = EnumSet.noneOf(CardType.class);
|
||||
|
|
Loading…
Reference in a new issue