Reorganizados los .cpp i .h en la carpeta common

This commit is contained in:
2022-10-18 09:31:33 +02:00
parent eb185755c2
commit 150d94454c
43 changed files with 1766 additions and 1431 deletions

View File

@@ -35,7 +35,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Asset *asset, Input *input, D
ticksSpeed = 15;
section.name = SECTION_PROG_GAME;
section.subsection = SUBSECTION_GAME_PLAY;
section.subsection = 0;
musicEnabled = !debug->getEnabled();
@@ -69,7 +69,7 @@ section_t Game::run()
while (section.name == SECTION_PROG_GAME)
{
// Sección juego jugando
if (section.subsection == SUBSECTION_GAME_PLAY)
if (section.subsection == 0)
{
update();
render();