Trabajando en el titulo

This commit is contained in:
2022-09-03 14:33:16 +02:00
parent fce356e306
commit 13fa289b42
7 changed files with 23 additions and 191 deletions

View File

@@ -17,7 +17,7 @@ Director::Director(std::string path)
}
else
{
section.name = SECTION_PROG_LOGO;
section.name = SECTION_PROG_TITLE;
section.subsection = 0;
}
@@ -234,6 +234,9 @@ void Director::runIntro()
// Ejecuta la seccion de juego con el titulo y los menus
void Director::runTitle()
{
title = new Title(renderer, screen, asset);
setSection(title->run());
delete title;
}
// Ejecuta la seccion de juego donde se juega