add of menu ui, structures and declaration of Chracter class

This commit is contained in:
2025-06-22 18:22:32 +02:00
parent 99eabc1a72
commit bd23eb5793
444 changed files with 674 additions and 0 deletions
+8
View File
@@ -6,9 +6,17 @@ MainWindow::MainWindow(QWidget *parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
Character* c = new Character();
currentCharacter = c;
characters.append(c);
}
MainWindow::~MainWindow()
{
delete ui;
delete currentCharacter;
for(Character* c : characters) {
delete c;
}
}