Package com.threerings.parlor.card.data

Examples of com.threerings.parlor.card.data.Card


     */
    protected Card pickRandomPlayableCard (Hand hand)
    {
        List<Card> playableCards = Lists.newArrayList();
        for (int ii = 0; ii < hand.size(); ii++) {
            Card card = hand.get(ii);
            if (_trickCardGame.isCardPlayable(hand, card)) {
                playableCards.add(card);
            }
        }
        return RandomUtil.pickRandom(playableCards);
View Full Code Here

TOP

Related Classes of com.threerings.parlor.card.data.Card

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.