Package mage.filter.predicate

Examples of mage.filter.predicate.ObjectSourcePlayer


    public boolean match(Player player, UUID sourceId, UUID playerId, Game game) {
        if (!this.match(player, game)) {
            return false;
        }

        return Predicates.and(extraPredicates).apply(new ObjectSourcePlayer(player, sourceId, playerId), game);
    }
View Full Code Here


    public boolean match(Card card, UUID sourceId, UUID playerId, Game game) {
        if (!this.match(card, game)) {
            return false;
        }

        return Predicates.and(extraPredicates).apply(new ObjectSourcePlayer(card, sourceId, playerId), game);
    }
View Full Code Here

    public boolean match(Permanent permanent, UUID sourceId, UUID playerId, Game game) {
        if (!this.match(permanent, game)) {
            return false;
        }

        return Predicates.and(extraPredicates).apply(new ObjectSourcePlayer(permanent, sourceId, playerId), game);
    }
View Full Code Here

TOP

Related Classes of mage.filter.predicate.ObjectSourcePlayer

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.