Beispiel #1
0
    /// <summary>
    /// Returns the next hidingspot from the current DecisionTree for the AI to check, based on the probability of the HidingSpots
    /// </summary>
    /// <returns> The next hidingspot to check from the current DecisionTree</returns>
    public DecisionNode GetNextHidingSpot()
    {
        DecisionNode place = Tree.RootNode.GetNodeOfHighestProbability();
        DecisionNode spot  = place.GetRandomHidingSpot();

        return(spot);
    }