reorganitzats els comandos de consola

This commit is contained in:
2026-03-29 18:08:33 +02:00
parent 7551115912
commit fd9be2066d
3 changed files with 73 additions and 69 deletions

View File

@@ -13,6 +13,8 @@ namespace GameControl {
namespace GameControl {
// Registrada por Game::Game() — cambia la habitación activa
inline std::function<bool(const std::string&)> change_room;
// Registrada por Game::Game() — devuelve el fichero de la habitación activa (ej. "03.yaml")
inline std::function<std::string()> get_current_room;
// Registrada por Game::Game() — fija el contador de items recogidos
inline std::function<void(int)> set_items;
// Registrada por Game::Game() — hace toggle del modo debug (equivale a tecla 0)