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
Action
object with the loaded room and room information. ThisAction
object 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
Room
object that represents the room to be vacated.
Last updated