more polymorphie steps for BeRo

This commit is contained in:
doitux
2007-08-05 13:07:23 +00:00
parent ce61172ab3
commit b68b8d48dd
29 changed files with 1736 additions and 41 deletions
+3 -2
View File
@@ -22,11 +22,12 @@
#include <handinterface.h>
#include <game_defs.h>
//using namespace std;
using namespace std;
LocalPreflop::LocalPreflop(HandInterface* bR, int id, int qP, int dP, int sB) : PreflopInterface(), myHand(bR), myID(id), actualQuantityPlayers(qP), dealerPosition(dP), bigBlindPosition(0), smallBlind(sB), highestSet(2*sB), preflopFirstRound(1), playersTurn(0)
{
cout << "OLD PREFLOP INIT!!!" << endl;
// // BigBlind ermitteln
bigBlindPosition = dealerPosition;
while (myHand->getPlayerArray()[bigBlindPosition]->getMyButton() != 3) {
@@ -48,7 +49,7 @@ LocalPreflop::~LocalPreflop()
void LocalPreflop::preflopRun() {
// cout << "NextPlayerSpeed2 stop" << endl;
cout << "OLD PREFLOPRUN" << endl;
int i;
bool allHighestSet = 1;