public LevelAbility(LevelAbility ability) { this.level1 = ability.level1; this.level2 = ability.level2; this.abilities = ability.abilities.copy(); this.power = ability.power; this.toughness = ability.toughness; }
public Emblem(final Emblem emblem) { this.id = emblem.id; this.name = emblem.name; this.frameStyle = emblem.frameStyle; this.controllerId = emblem.controllerId; this.sourceObject = emblem.sourceObject; this.copy = emblem.copy; this.copyFrom = (emblem.copyFrom != null ? emblem.copyFrom : null); this.abilites = emblem.abilites.copy(); this.expansionSetCodeForImage = emblem.expansionSetCodeForImage; }
public ExcavatorEffect(final ExcavatorEffect effect) { super(effect); this.abilities = abilities.copy(); }
public Designation(final Designation designation) { this.id = designation.id; this.name = designation.name; this.designationType = designation.designationType; this.frameStyle = designation.frameStyle; this.copy = designation.copy; this.copyFrom = (designation.copyFrom != null ? designation.copyFrom.copy() : null); this.abilites = designation.abilites.copy(); this.unique = designation.unique; }
public Plane(final Plane plane) { this.id = plane.id; this.name = plane.name; this.frameStyle = plane.frameStyle; this.controllerId = plane.controllerId; this.sourceObject = plane.sourceObject; this.copy = plane.copy; this.copyFrom = (plane.copyFrom != null ? plane.copyFrom.copy() : null); this.abilites = plane.abilites.copy(); this.expansionSetCodeForImage = plane.expansionSetCodeForImage; }
public MageObjectImpl(final MageObjectImpl object) { objectId = object.objectId; name = object.name; manaCost = object.manaCost.copy(); text = object.text; color = object.color.copy(); frameColor = object.frameColor.copy(); frameStyle = object.frameStyle; power = object.power.copy(); toughness = object.toughness.copy(); abilities = object.abilities.copy(); this.cardType.addAll(object.cardType); this.subtype.addAll(object.subtype); isAllCreatureTypes = object.isAllCreatureTypes; supertype.addAll(object.supertype); this.copy = object.copy; this.copyFrom = (object.copyFrom != null ? object.copyFrom.copy() : null); textParts = new ArrayList<>(); textParts.addAll(object.textParts); }
this.graveyard = player.graveyard.copy(); this.commandersIds = player.commandersIds; this.abilities = player.abilities.copy(); this.counters = player.counters.copy();
this.graveyard = player.getGraveyard().copy(); this.commandersIds = player.getCommandersIds(); this.abilities = player.getAbilities().copy(); this.counters = player.getCounters().copy();
for (Ability ability2 : object.getAbilities().copy()) { if (ability2 instanceof PlayLandAbility) { output.put(ability2.getId(), (ActivatedAbility) ability2);
this.abilities = card.getAbilities().copy();