BeRo refactoring
This commit is contained in:
@@ -65,6 +65,7 @@ void LocalBeRoPostRiver::run() {
|
||||
|
||||
// Pot-Verteilung
|
||||
distributePot();
|
||||
getMyHand()->getBoard()->distributePot();
|
||||
|
||||
//Pot auf 0 setzen
|
||||
getMyHand()->getBoard()->setPot(0);
|
||||
|
||||
@@ -52,4 +52,9 @@ void LocalBoard::collectPot() {
|
||||
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++){ playerArray[i]->setMySetNull(); }
|
||||
}
|
||||
|
||||
void LocalBoard::distributePot() {
|
||||
|
||||
vector<int> playerSets;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef LOCALBOARD_H
|
||||
#define LOCALBOARD_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <boardinterface.h>
|
||||
|
||||
class PlayerInterface;
|
||||
@@ -44,6 +46,8 @@ public:
|
||||
|
||||
void collectSets() ;
|
||||
void collectPot() ;
|
||||
|
||||
void distributePot();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user