Package bluffinmuffin.poker

Examples of bluffinmuffin.poker.PokerGameTraining


            {
                GameTCPServer client = null;
                final PokerGame game = m_lobby.getGame(command.getTableID());
                if (game.getClass().equals(PokerGameTraining.class))
                {
                    final PokerGameTraining tgame = (PokerGameTraining) game;
                    client = new GameTCPServer(game, m_playerName, tgame.getTrainingTable().getStartingMoney());
                }
                else
                {
                    client = new GameTCPServer(game, DataManager.Persistance.get(command.getPlayerName()));
                }
View Full Code Here


        m_LastUsedID++;
        while (m_games.containsKey(m_LastUsedID))
        {
            m_LastUsedID++;
        }
        final PokerGameTraining game = new PokerGameTraining(new TableInfoTraining(command.getTableName(), command.getBigBlind(), command.getMaxPlayers(), command.getLimit(), command.getStartingMoney()), command.getWaitingTimeAfterPlayerAction(), command.getWaitingTimeAfterBoardDealed(), command.getWaitingTimeAfterPotWon());
        game.start();
        m_games.put(m_LastUsedID, game);
        return m_LastUsedID;
    }
View Full Code Here

TOP

Related Classes of bluffinmuffin.poker.PokerGameTraining

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.