Fixed bug: "hands before raise" is now taken from dialog. Removed config from game.cpp for networking.

This commit is contained in:
lotodore
2007-04-26 21:11:13 +00:00
parent e150159be0
commit e202a83fbc
9 changed files with 149 additions and 47 deletions
+4 -6
View File
@@ -34,7 +34,7 @@ public:
~Session();
void startGame(int, int, int);
void startGame(int qP, int sC, int sB, int hbrsB);
void deleteGame();
void startNetworkClient(const std::string &serverAddress, unsigned serverPort, bool ipv6, const std::string &pwd);
@@ -45,14 +45,12 @@ public:
void initiateNetworkServerGame();
void terminateNetworkServer();
void setActualGameID(const int& theValue) { actualGameID = theValue; }
int getActualGameID() const { return actualGameID; }
// void createConfig();
void setCurrentGameID(const int& theValue) { currentGameID = theValue; }
int getCurrentGameID() const { return currentGameID; }
private:
int actualGameID;
int currentGameID;
ClientThread *myNetClient;
ServerThread *myNetServer;