IRoom Loader
This interface defines the basic functions that room loader classes must implement. In this way, different types of room loaders can achieve a certain behavior by implementing this interface.
Methods
LoadRoom(Room room, RoomInfo roomInfo, Action onLoaded)It is a method used to load the room. This method receives an
Actionobject with the loaded room and room information. ThisActionobject represents the code that will be run after the room is loaded.
UnLoadRoom(Room room)It is a method used to evacuate the room. This method takes a
Roomobject that represents the room to be vacated.
Last updated