mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 19:28:03 +00:00
- Introduced NPCLazyLoader class to handle NPC loading on a per-room basis, optimizing memory usage and performance. - Updated the create() function to utilize the new lazy loading mechanism for NPCs in the starting room. - Refactored loadRoom function to support asynchronous NPC loading, ensuring NPCs are registered before room visuals are created. - Adjusted PersonChatMinigame to load NPCs from the current room context, enhancing NPC management. - Updated scenarios to reflect the new NPC structure, moving NPC definitions from scenario root to individual rooms.