This commit is contained in:
doitux
2007-08-10 23:16:21 +00:00
parent 8319442b6a
commit a9a2d33e3f
13 changed files with 48 additions and 33 deletions
+3 -2
View File
@@ -22,6 +22,7 @@
#include <iostream>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <boardinterface.h>
@@ -34,7 +35,7 @@ public:
LocalBoard();
~LocalBoard();
void setPlayer(PlayerInterface**);
void setPlayer(std::vector<boost::shared_ptr<PlayerInterface> >);
void setHand(HandInterface*);
void setMyCards(int* theValue) { int i; for(i=0; i<5; i++) myCards[i] = theValue[i]; }
@@ -52,7 +53,7 @@ public:
private:
PlayerInterface **playerArray;
std::vector<boost::shared_ptr<PlayerInterface> > playerArray;
HandInterface *currentHand;
int myCards[5];