@@ -135,8 +135,8 @@ public static final class Constant {
135135 /** The Basic lands. */
136136 public static final ImmutableList <String > BASIC_LANDS = ImmutableList .of ("Plains" , "Island" , "Swamp" , "Mountain" , "Forest" );
137137 public static final ImmutableList <String > SNOW_LANDS = ImmutableList .of ("Snow-Covered Plains" , "Snow-Covered Island" , "Snow-Covered Swamp" , "Snow-Covered Mountain" , "Snow-Covered Forest" );
138- public static final String ANY_COLOR_CONVERSION = "AnyType->AnyColor" ;
139138
139+ public static final String ANY_COLOR_CONVERSION = "AnyType->AnyColor" ;
140140 public static final String ANY_TYPE_CONVERSION = "AnyType->AnyType" ;
141141 /**
142142 * Private constructor to prevent instantiation.
@@ -146,22 +146,24 @@ private Constant() {
146146 }
147147
148148 public enum Color implements ITranslatable {
149- WHITE (Constant .WHITE , MagicColor .WHITE , "W" , "lblWhite" ),
150- BLUE (Constant .BLUE , MagicColor .BLUE , "U" , "lblBlue" ),
151- BLACK (Constant .BLACK , MagicColor .BLACK , "B" , "lblBlack" ),
152- RED (Constant .RED , MagicColor .RED , "R" , "lblRed" ),
153- GREEN (Constant .GREEN , MagicColor .GREEN , "G" , "lblGreen" ),
154- COLORLESS (Constant .COLORLESS , MagicColor .COLORLESS , "C" , "lblColorless" );
149+ WHITE (Constant .WHITE , MagicColor .WHITE , "W" , "Plains" , " lblWhite" ),
150+ BLUE (Constant .BLUE , MagicColor .BLUE , "U" , "Island" , " lblBlue" ),
151+ BLACK (Constant .BLACK , MagicColor .BLACK , "B" , "Swamp" , " lblBlack" ),
152+ RED (Constant .RED , MagicColor .RED , "R" , "Mountain" , " lblRed" ),
153+ GREEN (Constant .GREEN , MagicColor .GREEN , "G" , "Forest" , " lblGreen" ),
154+ COLORLESS (Constant .COLORLESS , MagicColor .COLORLESS , "C" , null , "lblColorless" );
155155
156156 private final String name , shortName , symbol ;
157+ private final String basicLandType ;
157158 private final String label ;
158159 private final byte colormask ;
159160
160- Color (String name0 , byte colormask0 , String shortName , String label ) {
161+ Color (String name0 , byte colormask0 , String shortName , String basicLandType , String label ) {
161162 name = name0 ;
162163 colormask = colormask0 ;
163164 this .shortName = shortName ;
164165 symbol = "{" + shortName + "}" ;
166+ this .basicLandType = basicLandType ;
165167 this .label = label ;
166168 }
167169
@@ -193,6 +195,9 @@ public String getName() {
193195 public String getShortName () {
194196 return shortName ;
195197 }
198+ public String getBasicLandType () {
199+ return basicLandType ;
200+ }
196201
197202 @ Override
198203 public String getTranslatedName () {
0 commit comments