forked from External/mage
Added IsPhaseCondition, some minor framework formatting.
This commit is contained in:
parent
f9f26d3416
commit
5186f690d7
8 changed files with 82 additions and 6 deletions
|
|
@ -39,7 +39,7 @@ import mage.game.Game;
|
|||
*/
|
||||
public class InvertCondition implements Condition {
|
||||
|
||||
private Condition condition;
|
||||
private final Condition condition;
|
||||
|
||||
public InvertCondition ( Condition condition ) {
|
||||
this.condition = condition;
|
||||
|
|
@ -53,4 +53,9 @@ public class InvertCondition implements Condition {
|
|||
return !condition.apply(game, source);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return condition.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue