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

60 lines
1001 B
C++
Raw Normal View History

2007-08-04 12:08:10 +00:00
//
// C++ Interface: localberofactory
//
// Description:
//
//
// Author: FThauer FHammer <webmaster@pokerth.net>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef LOCALBEROFACTORY_H
#define LOCALBEROFACTORY_H
2007-08-05 13:07:23 +00:00
#include <istream>
#include <vector>
#include <boost/shared_ptr.hpp>
2007-08-04 12:08:10 +00:00
#include <berofactoryinterface.h>
#include <berointerface.h>
#include <handinterface.h>
2007-08-04 12:08:10 +00:00
/**
@author FThauer FHammer <webmaster@pokerth.net>
*/
class LocalBeRoFactory : public BeRoFactoryInterface
{
public:
LocalBeRoFactory(HandInterface* hi, int id, int aP, int dP, int sB);
2007-08-04 12:08:10 +00:00
~LocalBeRoFactory();
BeRoInterface* switchRounds(BeRoInterface*, int);
BeRoInterface* createBeRoPreflop();
std::vector<boost::shared_ptr<BeRoInterface> > createBeRo();
private:
HandInterface* myHand;
int myID;
int actualQuantityPlayers;
int dealerPosition;
int bigBlindPosition;
int smallBlind;
int highestSet;
bool preflopFirstRound;
int playersTurn;
2007-08-04 12:08:10 +00:00
};
#endif