Beispiel #1
0
    public Dialog(ActorBrain actorBrain, Dialog parentDialog)
    {
        this.actorBrain   = actorBrain;
        this.parentDialog = parentDialog;

        listSetElems = new List <dynamic>();
        listActions  = new List <string>();
        template     = new TemplateElem(actorBrain, parentDialog);

        dictListChildPriorityDialogs = new SortedList <int, List <Dialog> >();

        if (parentDialog != null)
        {
            parentDialog.AddChildDialog(this);
        }

        satureRandomTemplates = false;

        isInit = false;
    }