Package mage.game.turn

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


        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

        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

Related Classes of mage.game.turn.TurnMod

Copyright © 2018 www.massapicom. 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.