2007-08-04 01:30:59 +00:00
|
|
|
//
|
|
|
|
|
// C++ Interface: localbero
|
|
|
|
|
//
|
|
|
|
|
// Description:
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// Author: FThauer FHammer <webmaster@pokerth.net>, (C) 2007
|
|
|
|
|
//
|
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
#ifndef LOCALBERO_H
|
|
|
|
|
#define LOCALBERO_H
|
|
|
|
|
|
|
|
|
|
#include "berointerface.h"
|
2007-08-07 00:05:29 +00:00
|
|
|
#include "handinterface.h"
|
2007-08-04 01:30:59 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@author FThauer FHammer <webmaster@pokerth.net>
|
|
|
|
|
*/
|
|
|
|
|
class LocalBeRo : public BeRoInterface{
|
|
|
|
|
public:
|
2007-08-07 00:05:29 +00:00
|
|
|
LocalBeRo(HandInterface* hi, int id, int qP, int dP, int sB);
|
2007-08-04 01:30:59 +00:00
|
|
|
|
|
|
|
|
~LocalBeRo();
|
|
|
|
|
|
2007-08-05 13:07:23 +00:00
|
|
|
int getMyBeRoID() const { return myBeRoID; }
|
2007-08-05 23:57:16 +00:00
|
|
|
|
2007-08-06 21:38:09 +00:00
|
|
|
int getHighestCardsValue() const {return 0;}
|
2007-08-05 23:57:16 +00:00
|
|
|
void setHighestCardsValue(int theValue) {}
|
2007-08-05 13:07:23 +00:00
|
|
|
|
2007-08-07 00:05:29 +00:00
|
|
|
void run();
|
|
|
|
|
|
2007-08-06 20:35:26 +00:00
|
|
|
//only until bero refactoring is over
|
2007-08-05 23:57:16 +00:00
|
|
|
void preflopRun() {}
|
|
|
|
|
void flopRun() {}
|
|
|
|
|
void riverRun() {}
|
|
|
|
|
void turnRun() {}
|
|
|
|
|
void postRiverRun() {}
|
|
|
|
|
|
|
|
|
|
void resetFirstRun() {}
|
|
|
|
|
|
2007-08-05 13:07:23 +00:00
|
|
|
protected:
|
|
|
|
|
|
2007-08-07 00:05:29 +00:00
|
|
|
HandInterface* myHand;
|
|
|
|
|
|
2007-08-05 13:07:23 +00:00
|
|
|
int myBeRoID;
|
2007-08-07 00:05:29 +00:00
|
|
|
int myID;
|
|
|
|
|
int actualQuantityPlayers;
|
|
|
|
|
int dealerPosition;
|
|
|
|
|
int smallBlindPosition;
|
|
|
|
|
|
|
|
|
|
int smallBlind;
|
|
|
|
|
int highestSet;
|
|
|
|
|
|
|
|
|
|
bool firstRun;
|
|
|
|
|
bool firstRound;
|
|
|
|
|
bool firstHeadsUpRound;
|
|
|
|
|
int playersTurn;
|
|
|
|
|
|
|
|
|
|
bool logBoardCardsDone;
|
|
|
|
|
|
2007-08-05 13:07:23 +00:00
|
|
|
|
2007-08-04 01:30:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|