/// <summary> /// Choose character etc /// </summary> private static void StartFromNewGame() { AppState.IO.Write("Choose one of the following characters:"); var startChars = ( from id in AppState.Project.StartInfo.CharacterIds select AppState.Project.Characters.GetId(id) ).ToList(); foreach (var c in startChars) { OutputHelpers.PrintCharacter(c); AppState.IO.Write(""); } AppState.IO.GetChoice(startChars, c => c.Name, choosenChar => { AppState.Game.PlayerChar = choosenChar; AppState.IO.Write($">> {choosenChar.Name}\n"); AppState.IO.Write(AppState.Project.StartInfo.IntroText ?? "The project does not have an intro text"); AppState.Game.CurrentDialog.Start(); }); }