fixes + optimizations + allow games to be paused and resumed

This commit is contained in:
BetaSteward 2011-11-02 21:39:03 -04:00
parent 8fd03a5bb5
commit 7c69bc6f30
44 changed files with 430 additions and 331 deletions

View file

@ -82,15 +82,9 @@ public abstract class MageObjectImpl<T extends MageObjectImpl<T>> implements Mag
power = object.power.copy();
toughness = object.toughness.copy();
abilities = object.abilities.copy();
for (CardType cType: object.cardType) {
cardType.add(cType);
}
for (String subType: object.subtype) {
this.subtype.add(subType);
}
for (String superType: object.supertype) {
this.supertype.add(superType);
}
this.cardType.addAll(object.cardType);
this.subtype.addAll(object.subtype);
this.supertype.addAll(object.supertype);
}
@Override