forked from External/mage
refactor the copy functionality for no-args watchers
This commit is contained in:
parent
80e7593bb1
commit
1852de2f47
52 changed files with 73 additions and 538 deletions
|
|
@ -20,23 +20,12 @@ public class ChooseBlockersRedundancyWatcher extends Watcher { // workaround for
|
|||
super(WatcherScope.GAME);
|
||||
}
|
||||
|
||||
public ChooseBlockersRedundancyWatcher(final ChooseBlockersRedundancyWatcher watcher) {
|
||||
super(watcher);
|
||||
this.copyCount = watcher.copyCount;
|
||||
this.copyCountApply = watcher.copyCountApply;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
copyCount = 0;
|
||||
copyCountApply = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChooseBlockersRedundancyWatcher copy() {
|
||||
return new ChooseBlockersRedundancyWatcher(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void watch(GameEvent event, Game game) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue