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;
}