Package com.threerings.parlor.card.data

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


     * @param fadeDuration the amount of time to spend fading in each card
     */
    public void setHand (int size, long fadeDuration)
    {
        // fill hand will null entries to signify unknown cards
        Hand hand = new Hand();
        for (int ii = 0; ii < size; ii++) {
            hand.add(null);
        }
        setHand(hand, fadeDuration);
    }
View Full Code Here


    {
        if (deck.size() < size) {
            return null;

        } else {
            Hand hand = deck.dealHand(size);
            if (!isAI(playerIndex)) {
                ClientObject clobj = (ClientObject)_omgr.getObject(_playerOids[playerIndex]);
                if (clobj != null) {
                    CardGameSender.sendHand(clobj, _cardgameobj.getOid(), hand);
                }
View Full Code Here

TOP

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

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.