Move the map/mode initialization function from the Room class to the RoomMapModeState.