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
|
|
@ -13,13 +13,9 @@ import mage.game.Game;
|
|||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class OnOpponentsTurnCondition implements Condition {
|
||||
public enum OnOpponentsTurnCondition implements Condition {
|
||||
|
||||
private static final OnOpponentsTurnCondition F_INSTANCE = new OnOpponentsTurnCondition();
|
||||
|
||||
public static Condition getInstance() {
|
||||
return F_INSTANCE;
|
||||
}
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue