Examples of FairyAction


Examples of com.jcloisterzone.action.FairyAction

        this.fairyPosition = fairyPosition;
    }

    @Override
    public void prepareActions(List<PlayerAction<?>> actions, Set<FeaturePointer> followerOptions) {
        FairyAction fairyAction = new FairyAction();
        Player activePlayer = game.getActivePlayer();
        for (Follower m : Iterables.filter(activePlayer.getFollowers(), MeeplePredicates.deployed())) {
            if (!m.at(fairyPosition)) {
                fairyAction.add(m.getPosition());
            }
        }
        if (!fairyAction.isEmpty()) {
            actions.add(fairyAction);
        }
    }
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.