mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[NCC] Implement The Beamtown Bullies (#9378)
This commit is contained in:
parent
6cfefeea95
commit
56d5ad3dbc
3 changed files with 164 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
package mage.target.common;
|
||||
|
||||
import mage.filter.FilterOpponent;
|
||||
import mage.filter.predicate.other.PlayerIdPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
/**
|
||||
* @author Arketec
|
||||
*/
|
||||
public class TargetOpponentWhoseTurnItIs extends TargetPlayer {
|
||||
|
||||
public TargetOpponentWhoseTurnItIs(Game game) {
|
||||
this(game,false);
|
||||
|
||||
}
|
||||
|
||||
public TargetOpponentWhoseTurnItIs(Game game, boolean notTarget) {
|
||||
super(1, 1, notTarget, new FilterOpponent());
|
||||
super.filter.add(new PlayerIdPredicate(game.getActivePlayerId()));
|
||||
}
|
||||
|
||||
private TargetOpponentWhoseTurnItIs(final TargetOpponentWhoseTurnItIs target) {
|
||||
super(target);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TargetOpponentWhoseTurnItIs copy() {
|
||||
return new TargetOpponentWhoseTurnItIs(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue