forked from External/mage
moved Watchers to Ability and moved Counters to CardState
This commit is contained in:
parent
620a3b9a52
commit
632573fc3e
204 changed files with 1516 additions and 347 deletions
|
|
@ -42,7 +42,6 @@ import static mage.constants.SpellAbilityType.SPLIT_LEFT;
|
|||
import static mage.constants.SpellAbilityType.SPLIT_RIGHT;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -166,14 +165,6 @@ public abstract class SplitCard extends CardImpl {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Watcher> getWatchers() {
|
||||
List<Watcher> allWatchers = new ArrayList<>();
|
||||
allWatchers.addAll(super.getWatchers());
|
||||
allWatchers.addAll(leftHalfCard.getWatchers());
|
||||
allWatchers.addAll(rightHalfCard.getWatchers());
|
||||
return allWatchers;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue