Beispiel #1
0
    public bool EvaluatePreconditions()
    {
        foreach (QuestCondition pre in preconditions)
        {
            if (!pre.Evaluate())
            {
                return(false);
            }
        }

        return(questTree.QuestStepRoot().EvaluatePreconditions());
    }