forked from jaildesigner-jailgames/jaildoctors_dilemma
merdetes pa debugar a gust
This commit is contained in:
@@ -110,10 +110,12 @@ void handleShowDebugInfo() {
|
||||
Screen::get()->toggleDebugInfo();
|
||||
}
|
||||
|
||||
/*
|
||||
void handleToggleDebug() {
|
||||
Debug::get()->toggleEnabled();
|
||||
Notifier::get()->show({"DEBUG " + std::string(Debug::get()->getEnabled() ? "ENABLED" : "DISABLED")}, Notifier::TextAlign::CENTER);
|
||||
Notifier::get()->show({"DEBUG " + std::string(Debug::get()->isEnabled() ? "ENABLED" : "DISABLED")}, Notifier::TextAlign::CENTER);
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
// Detecta qué acción global ha sido presionada (si alguna)
|
||||
@@ -216,7 +218,7 @@ void handle() {
|
||||
break;
|
||||
|
||||
case InputAction::TOGGLE_DEBUG:
|
||||
handleToggleDebug();
|
||||
//handleToggleDebug();
|
||||
break;
|
||||
|
||||
case InputAction::SHOW_DEBUG_INFO:
|
||||
|
||||
Reference in New Issue
Block a user