private Place[] Internal_GetAllBuildings()
        {
            List <Place> buildings = new List <Place>();

            for (int i = 0; i < pointsOfInterestGroup.Count; i++)
            {
                PointOfInterestGroup pointOfInterest = pointsOfInterestGroup[i];

                for (int j = 0; j < pointOfInterest.placeCollectionCount; j++)
                {
                    PlaceCollection placeCollection = pointOfInterest.GetPlaceCollection(j);

                    if (placeCollection == null)
                    {
                        continue;
                    }

                    Place place = placeCollection.GetPlace();

                    if (place != null)
                    {
                        buildings.Add(place);
                    }
                }
            }

            return(buildings.ToArray());
        }
        private bool Internal_PlaceHasTrivia(Place place)
        {
            bool evaluation = false;

            for (int i = 0; i < pointsOfInterestGroup.Count; i++)
            {
                PointOfInterestGroup pointOfInterest = pointsOfInterestGroup[i];

                for (int j = 0; j < pointOfInterest.placeCollectionCount; j++)
                {
                    PlaceCollection placeCollection = pointOfInterest.GetPlaceCollection(j);

                    if (placeCollection == null)
                    {
                        continue;
                    }

                    if (placeCollection.GetPlace() == place)
                    {
                        evaluation = place.trivia != null;
                        break;
                    }
                }
            }

            return(evaluation);
        }
        private Place Internal_GetBuildingFromRoom(Room room)
        {
            Place building = null;

            for (int i = 0; i < pointsOfInterestGroup.Count; i++)
            {
                PointOfInterestGroup pointOfInterest = pointsOfInterestGroup[i];

                for (int j = 0; j < pointOfInterest.placeCollectionCount; j++)
                {
                    PlaceCollection placeCollection = pointOfInterest.GetPlaceCollection(j);

                    if (placeCollection == null)
                    {
                        continue;
                    }

                    if (placeCollection.HasRoom(room))
                    {
                        building = placeCollection.GetPlace();
                        break;
                    }
                }
            }

            return(building);
        }