Exemplo n.º 1
0
 private void RememberDialogsWithPerson(Character person)
 {
     _selectedPerson = person;
     _dialogOptions  = new List <IVisual>();
     _dialogMemoriesBranch.ClearElements();
     foreach (var dialog in person.GetOldDialogs())
     {
         var button = dialog.CreateButton((l) => RememberDialog(dialog.Dialog, l), 0, 0);
         button.Offset = new Vector2(0, -300 + _dialogOptions.Count * 100);
         _dialogMemoriesBranch.Add(button);
         _dialogOptions.Add(button);
     }
 }