Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
krkane
/
Rüütli Vaev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
38365fdf
authored
May 01, 2024
by
grlabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mainwindow.cpp
parent
454e9257
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
Source/mainwindow.cpp
Source/mainwindow.cpp
View file @
38365fdf
...
...
@@ -11,6 +11,7 @@
#include "bossdefeated.h"
#include "gameover.h"
#include "bossfightend.h"
#include "mainmenu.h"
MainWindow
::
MainWindow
(
QWidget
*
parent
,
Player
*
player
,
int
iDefeatedEnemies
)
:
QMainWindow
(
parent
),
...
...
@@ -138,7 +139,10 @@ void MainWindow::on_nupp_pogene_clicked()
// int SaveGame(char *file, Player *p, int enemiesDefeated);
saveGame
();
mainmenu
*
mainmenu
=
new
class
mainmenu
();
// Show the MainMenu
mainmenu
->
show
();
close
();
// Uuenda vaenlase tervisenäidikut pärast põgenemist (valikuline)
ui
->
VastaseHPdisplay
->
setText
(
QString
(
"Vaenlase HP: %1"
).
arg
(
enemy
.
health
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment