forked from External/mage
[refactor] removed generic parameter from Spell
This commit is contained in:
parent
289412bbc0
commit
e43bc35c14
3 changed files with 6 additions and 7 deletions
|
|
@ -67,9 +67,8 @@ import mage.watchers.Watcher;
|
|||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
* @param <T>
|
||||
*/
|
||||
public class Spell<T extends Spell<T>> implements StackObject, Card {
|
||||
public class Spell implements StackObject, Card {
|
||||
|
||||
private final List<Card> spellCards = new ArrayList<>();
|
||||
private final List<SpellAbility> spellAbilities = new ArrayList<>();
|
||||
|
|
@ -100,7 +99,7 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
this.fromZone = fromZone;
|
||||
}
|
||||
|
||||
public Spell(final Spell<T> spell) {
|
||||
public Spell(final Spell spell) {
|
||||
this.id = spell.id;
|
||||
for (SpellAbility spellAbility: spell.spellAbilities) {
|
||||
this.spellAbilities.add(spellAbility.copy());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue