forked from External/mage
remove redundant OnOpponentsTurnCondition
This commit is contained in:
parent
535f932ee3
commit
186b968ce9
9 changed files with 16 additions and 40 deletions
|
|
@ -1,24 +0,0 @@
|
|||
package mage.abilities.condition.common;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public enum OnOpponentsTurnCondition implements Condition {
|
||||
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return game.getOpponents(source.getControllerId()).contains(game.getActivePlayerId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "on an opponent's turn";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue