BeRo refactoring

This commit is contained in:
doitux
2007-08-09 18:02:58 +00:00
parent 6eebcc943f
commit 3742f15db2
7 changed files with 21 additions and 0 deletions
@@ -65,6 +65,7 @@ void LocalBeRoPostRiver::run() {
// Pot-Verteilung
distributePot();
getMyHand()->getBoard()->distributePot();
//Pot auf 0 setzen
getMyHand()->getBoard()->setPot(0);
+5
View File
@@ -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;
}
+4
View File
@@ -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: