Example #1
0
 public void Execute(Settlement.Settlement settlement)
 {
     PreExecute(settlement);
     CustomConsole.TitleLine();
     CustomConsole.WriteLine($"{Name.ToUpper()}:");
     CustomConsole.WriteLine($"{Description}");
     IOManager.ChooseItemFromList(Options.Where(op => op.IsAvailable(settlement)), op => op.Description).Execute(settlement);
     PostExecute(settlement);
 }