Reorganizados los .cpp i .h en la carpeta common
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user