This commit is contained in:
doitux
2007-02-04 13:46:27 +00:00
parent ff6c1e5cbd
commit a7fa1b03e7
11 changed files with 87 additions and 28 deletions
+3 -1
View File
@@ -29,6 +29,7 @@ using namespace std;
Session::Session(GuiInterface* g) : actualGame(0), myGui(g)
{
actualGameID = 0;
// Session an mainwindowimpl bergeben
myGui->setSession(this);
@@ -45,8 +46,9 @@ Session::~Session()
void Session::startGame(int qP, int sC, int sB) {
actualGame = new Game(myConfig, myGui, qP, sC, sB);
actualGameID++;
actualGame = new Game(myConfig, myGui, qP, sC, sB, actualGameID);
}
void Session::deleteGame() {