al eixir del editor, recarrega la habitació nova

This commit is contained in:
2026-04-02 11:21:08 +02:00
parent a6fae7b001
commit 20bac58814
8 changed files with 76 additions and 15 deletions
+4 -1
View File
@@ -25,7 +25,10 @@ namespace Resource {
auto getRoom(const std::string& name) -> std::shared_ptr<Room::Data>;
auto getRooms() -> std::vector<RoomResource>&;
void reload(); // Recarga todos los recursos
void reload(); // Recarga todos los recursos
#ifdef _DEBUG
void reloadRoom(const std::string& name); // Recarga una habitación desde disco
#endif
private:
// Estructura para llevar la cuenta de los recursos cargados