Refactoring

We don't need to override basic methods to just call the basic method again.
This commit is contained in:
vraskulin 2017-01-09 18:13:43 +03:00
parent b626bf6866
commit a9f2c8c407
6 changed files with 4 additions and 25 deletions

View file

@ -56,16 +56,6 @@ public class TargetOpponent extends TargetPlayer {
super(target);
}
@Override
public boolean canChoose(UUID sourceId, UUID sourceControllerId, Game game) {
return super.canChoose(sourceId, sourceControllerId, game);
}
@Override
public boolean canTarget(UUID id, Ability source, Game game) {
return super.canTarget(id, source, game);
}
@Override
public TargetOpponent copy() {
return new TargetOpponent(this);