Canviat el missatge d'eixida del joc

This commit is contained in:
2024-09-30 18:47:12 +02:00
parent 2d5859b1c4
commit e033fc8015

View File

@@ -24,8 +24,8 @@ int main(int argc, char *argv[])
// Destruye el objeto Director // Destruye el objeto Director
delete director; delete director;
const std::string endType = exit == 0 ? "to terminal" : "shutdown"; const std::string endType = exit == 0 ? "keyboard" : "controller";
std::cout << "\nGame end -> " << endType << std::endl; std::cout << "\nGame end with " << endType << std::endl;
return exit; return exit;
} }