Package bluffinmuffin.game.entities

Examples of bluffinmuffin.game.entities.CardSet


     *            Les cartes sur la table
     * @return Un long produit par le hand evaluator
     */
    public long evaluateCards(CardSet p_board)
    {
        final CardSet hand = new CardSet(p_board);
        hand.addAll(m_cards);
        return HandEvaluator.hand7Eval(HandEvaluator.encode(hand));
    }
View Full Code Here


    }
   
    @Override
    public CardSet dealFlop()
    {
        final CardSet set = new CardSet(3);
        set.add(m_deck.pop());
        set.add(m_deck.pop());
        set.add(m_deck.pop());
        return set;
    }
View Full Code Here

    }
   
    @Override
    public CardSet dealHoles(PlayerInfo p)
    {
        final CardSet set = new CardSet(2);
        set.add(m_deck.pop());
        set.add(m_deck.pop());
        return set;
    }
View Full Code Here

TOP

Related Classes of bluffinmuffin.game.entities.CardSet

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.