public static RoomData GetRoomFromID(SecretBaseRoomTypes type, SecretBaseRoomLayouts layout)
 {
     SecretBaseRoomID id = new SecretBaseRoomID { Type = type, Layout = layout };
     if (roomMap.ContainsKey(id))
         return roomMap[id];
     return null;
 }
        public static RoomData GetRoomFromID(SecretBaseRoomTypes type, SecretBaseRoomLayouts layout)
        {
            SecretBaseRoomID id = new SecretBaseRoomID {
                Type = type, Layout = layout
            };

            if (roomMap.ContainsKey(id))
            {
                return(roomMap[id]);
            }
            return(null);
        }