Commit b059b138 by grlabu

Upload New File

parent f8f68e7d
Showing with 24 additions and 0 deletions
//gameoverscreen.cpp
#include "gameoverscreen.h"
#include "mainmenu.h"
#include "ui_gameoverscreen.h"
gameoverscreen::gameoverscreen(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::gameoverscreen)
{
ui->setupUi(this);
}
gameoverscreen::~gameoverscreen()
{
delete ui;
}
void gameoverscreen::on_restartGame_clicked()
{
mainmenu *mainmenu = new class mainmenu();
// Show the MainMenu
mainmenu->show();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment