Added IsPhaseCondition, some minor framework formatting.

This commit is contained in:
LevelX2 2013-11-21 09:58:22 +01:00
parent f9f26d3416
commit 5186f690d7
8 changed files with 82 additions and 6 deletions

View file

@ -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();
}
}