private void GetDistanceBetweenRooms() { foreach (Room thisRoom in Map.roomObjs) { foreach (Room nextRoom in Map.roomObjs) { if (thisRoom != nextRoom) { thisRoom.distances.Add(SimpleFunctions.Check_SuperimposeDistanceVector(thisRoom, nextRoom)); } } } }