BeRo refactoring
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
#ifndef LOCALBERO_H
|
||||
#define LOCALBERO_H
|
||||
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "game_defs.h"
|
||||
#include "berointerface.h"
|
||||
#include "handinterface.h"
|
||||
|
||||
@@ -20,7 +24,7 @@
|
||||
*/
|
||||
class LocalBeRo : public BeRoInterface{
|
||||
public:
|
||||
LocalBeRo(HandInterface* hi, int id, int qP, int dP, int sB);
|
||||
LocalBeRo(HandInterface* hi, int id, int qP, int dP, int sB, GameState gS);
|
||||
|
||||
~LocalBeRo();
|
||||
|
||||
@@ -29,6 +33,25 @@ public:
|
||||
int getHighestCardsValue() const {return 0;}
|
||||
void setHighestCardsValue(int theValue) {}
|
||||
|
||||
|
||||
void setPlayersTurn(int theValue) { playersTurn = theValue; }
|
||||
int getPlayersTurn() const { return playersTurn; }
|
||||
|
||||
void setHighestSet(int theValue) { highestSet = theValue; }
|
||||
int getHighestSet() const { return highestSet;}
|
||||
|
||||
void setFirstRound(bool theValue) { firstRound = theValue;}
|
||||
bool getFirstRound() const { return firstRound;}
|
||||
|
||||
void setSmallBlindPosition(int theValue) { smallBlindPosition = theValue;}
|
||||
int getSmallBlindPosition() const { return smallBlindPosition; }
|
||||
|
||||
void setSmallBlind(int theValue) { smallBlind = theValue; }
|
||||
int getSmallBlind() const { return smallBlind; }
|
||||
|
||||
void resetFirstRun() { firstRun = false; }
|
||||
|
||||
void nextPlayer();
|
||||
void run();
|
||||
|
||||
//only until bero refactoring is over
|
||||
@@ -37,8 +60,6 @@ public:
|
||||
void riverRun() {}
|
||||
void turnRun() {}
|
||||
void postRiverRun() {}
|
||||
|
||||
void resetFirstRun() {}
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user