Files
pokerth/src/engine/local_engine/localberofactory.cpp
T

34 lines
686 B
C++
Raw Normal View History

2007-08-04 12:08:10 +00:00
//
// C++ Implementation: localberofactory
//
// Description:
2007-08-04 12:08:10 +00:00
//
//
// Author: FThauer FHammer <webmaster@pokerth.net>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "localberofactory.h"
LocalBeRoFactory::LocalBeRoFactory (HandInterface* hi, int id, int aP, int dP, int sB)
: BeRoFactoryInterface() , myHand(hi), myID(id), actualQuantityPlayers(aP), dealerPosition(dP), smallBlind(sB)
{}
2007-08-04 12:08:10 +00:00
LocalBeRoFactory::~LocalBeRoFactory()
{}
BeRoInterface* LocalBeRoFactory::switchRounds()
2007-08-04 12:08:10 +00:00
{
2007-08-04 22:19:40 +00:00
BeRoInterface* myBeRo = NULL;
2007-08-04 22:19:40 +00:00
myBeRo = new LocalBeRoPreflop ( myHand, myID, actualQuantityPlayers, dealerPosition, smallBlind );
return myBeRo;
2007-08-04 12:08:10 +00:00
}