forked from External/mage
rewrote singleton to enum where applicable
This commit is contained in:
parent
3b62489ef5
commit
234cfe9519
872 changed files with 1796 additions and 2135 deletions
|
|
@ -32,13 +32,9 @@ import mage.abilities.Ability;
|
|||
import mage.abilities.condition.Condition;
|
||||
import mage.game.Game;
|
||||
|
||||
public class NotMyTurnCondition implements Condition {
|
||||
public enum NotMyTurnCondition implements Condition {
|
||||
|
||||
private static final NotMyTurnCondition fInstance = new NotMyTurnCondition();
|
||||
|
||||
public static Condition getInstance() {
|
||||
return fInstance;
|
||||
}
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue