// // C++ Interface: localberofactory // // Description: // // // Author: FThauer FHammer , (C) 2007 // // Copyright: See COPYING file that comes with this distribution // // #ifndef LOCALBEROFACTORY_H #define LOCALBEROFACTORY_H #include #include #include #include #include #include /** @author FThauer FHammer */ class LocalBeRoFactory : public BeRoFactoryInterface { public: LocalBeRoFactory(HandInterface* hi, int id, int aP, int dP, int sB); ~LocalBeRoFactory(); BeRoInterface* switchRounds(BeRoInterface*, int); BeRoInterface* createBeRoPreflop(); std::vector > createBeRo(); private: HandInterface* myHand; int myID; int actualQuantityPlayers; int dealerPosition; int bigBlindPosition; int smallBlind; int highestSet; bool preflopFirstRound; int playersTurn; }; #endif