refactor the copy functionality for no-args watchers

This commit is contained in:
Ingmar Goudt 2019-04-07 20:22:14 +02:00
parent 311532a6e7
commit 6703ba693d
52 changed files with 73 additions and 538 deletions

View file

@ -21,9 +21,6 @@ public class CastFromHandWatcher extends Watcher {
super(WatcherScope.GAME);
}
public CastFromHandWatcher(final CastFromHandWatcher watcher) {
super(watcher);
}
@Override
public void watch(GameEvent event, Game game) {
@ -58,8 +55,4 @@ public class CastFromHandWatcher extends Watcher {
spellsCastFromHand.clear();
}
@Override
public CastFromHandWatcher copy() {
return new CastFromHandWatcher(this);
}
}