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
|
|
@ -57,6 +57,7 @@ import java.util.UUID;
|
|||
import mage.cards.Card;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.players.Player;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -475,6 +476,16 @@ public class StackAbility implements StackObject, Ability {
|
|||
public void setWorksFaceDown(boolean worksFaceDown) {
|
||||
this.ability.setWorksFaceDown(worksFaceDown);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Watcher> getWatchers() {
|
||||
return this.ability.getWatchers();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addWatcher(Watcher watcher) {
|
||||
throw new UnsupportedOperationException("Not supported.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public MageObject getSourceObject(Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue