Skip to content

Commit

Permalink
Use log
Browse files Browse the repository at this point in the history
  • Loading branch information
autosquash committed Jan 31, 2024
1 parent 2cca308 commit da882a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nivel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,14 @@ AccionGeneral Nivel::ejecutar() {
switch (modelo_amplio->get_fase_actual()) {
case FaseNivel::EsperaAntesDeResultado:
if (timer_espera_antes_de_resultado->termino()) {
std::cout << "Se debe mostrar el resultado" << std::endl;
LOG(info) << "Se debe mostrar el resultado";
establecer_fase(FaseNivel::MostrandoResultado);
}
break;
case FaseNivel::MostrandoResultado:
{
if (!es_el_ultimo && timer_fin_nivel->termino()) {
std::cout << "Se debe pasar al siguiente nivel"
<< std::endl;
LOG(info) << "Se debe pasar al siguiente nivel";
return AccionGeneral::SiguienteNivel;
};
}
Expand Down

0 comments on commit da882a6

Please sign in to comment.