added SOM - Chimeric Mass

This commit is contained in:
BetaSteward 2011-07-28 11:25:06 -04:00
parent 924908c873
commit 7e05790a07
3 changed files with 154 additions and 1 deletions

View file

@ -33,7 +33,7 @@ import mage.util.Copyable;
public class MageInt implements Serializable, Copyable<MageInt> {
public static MageInt EmptyMageInt = new MageInt(0, "");
public static MageInt EmptyMageInt = new MageInt(Integer.MIN_VALUE, null);
protected int baseValue;
protected String cardValue = "";
@ -50,6 +50,8 @@ public class MageInt implements Serializable, Copyable<MageInt> {
@Override
public MageInt copy() {
if (this == EmptyMageInt)
return this;
return new MageInt(baseValue, cardValue);
}