1234567891011121314151617181920212223242526272829303132333435 |
- #include "ui/hotseat_game/hotseatgame.h"
- #include "ui_hotseatgame.h"
- #include "gui/guiscenemanager.h"
- #include "cell.h"
- #include "hotseatgame/gamemanager.h"
- #include <QDebug>
- #include <QGraphicsScene>
- HotSeatGame::HotSeatGame(QWidget *parent) :
- Scene(parent),
- ui(new Ui::HotSeatGame)
- {
- qDebug() << "Initialising game";
- ui->setupUi(this);
- }
- void HotSeatGame::init() {
- }
- HotSeatGame::~HotSeatGame()
- {
- delete ui;
- }
- void HotSeatGame::on_surrender_button__clicked()
- {
- //GuiSceneManager::getInstance().showMainWindow();
- //GuiSceneManager::getInstance().hideDetachedScene("hotseatgame");
- //GuiSceneManager::getInstance().changeScene("hotseatgame_results");
- GuiSceneManager::getInstance().changeScene("main_menu");
- }
|