Examples of TurnMod


Examples of mage.game.turn.TurnMod

    @Override
    public boolean apply(Game game, Ability source) {
        Player player = game.getPlayer(source.getControllerId());
        if (player != null) {
            if (player.flipCoin(game)) {
                game.getState().getTurnMods().add(new TurnMod(player.getId(), false));
                return true;
            }
        }
        return false;
    }
View Full Code Here

Examples of mage.game.turn.TurnMod

        return new TimeWarpEffect(this);
    }

    @Override
    public boolean apply(Game game, Ability source) {
        game.getState().getTurnMods().add(new TurnMod(source.getFirstTarget(), false));
        return true;
    }
View Full Code Here

Examples of mage.game.turn.TurnMod

        return new LighthouseChronologistEffect(this);
    }

    @Override
    public boolean apply(Game game, Ability source) {
        game.getState().getTurnMods().add(new TurnMod(source.getControllerId(), false));
        return true;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.