Exemplo n.º 1
0
 // Asks the player for a choice.
 public void Choose(params Choice[] choices)
 {
     choices = choices.Where(x => x != null && x.action != null).ToArray();
     for (int i = 0; i < choices.Length; i++)
     {
         choices[i].text = Italics(choices[i].text);
     }
     stage.AddChoices(choices);
 }