forked from External/mage
fixes + optimizations + allow games to be paused and resumed
This commit is contained in:
parent
8fd03a5bb5
commit
7c69bc6f30
44 changed files with 430 additions and 331 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue