Package bluffinmuffin.protocol.commands.game

Examples of bluffinmuffin.protocol.commands.game.PlayerPlayMoneyCommand


    }
   
    @Override
    public boolean playMoney(PlayerInfo player, int amount)
    {
        send(new PlayerPlayMoneyCommand(amount));
        return true;
    }
View Full Code Here


                m_pokerTable.setNoSeatBigBlind(command.GetNoSeatBB());
               
                // TODO: RICK: This is nice but, si le player passe pas par tcp (direct, hooking, etc) il saura pas quoi faire lors des blinds.
                if (m_pokerTable.getNoSeatSmallBlind() == m_tablePosition)
                {
                    send(new PlayerPlayMoneyCommand(m_pokerTable.getSmallBlindAmnt()));
                }
                if (m_pokerTable.getNoSeatBigBlind() == m_tablePosition)
                {
                    send(new PlayerPlayMoneyCommand(m_pokerTable.getBigBlindAmnt()));
                }
                m_gameObserver.gameBlindsNeeded();
            }
           
            @Override
View Full Code Here

        final StringTokenizer token = new StringTokenizer(line, "" + AbstractCommand.Delimitter);
        final String commandName = token.nextToken();
       
        if (commandName.equals(PlayerPlayMoneyCommand.COMMAND_NAME))
        {
            playMoneyCommandReceived(new PlayerPlayMoneyCommand(token));
        }
        else if (commandName.equals(DisconnectCommand.COMMAND_NAME))
        {
            disconnectCommandReceived(new DisconnectCommand(token));
        }
View Full Code Here

TOP

Related Classes of bluffinmuffin.protocol.commands.game.PlayerPlayMoneyCommand

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.