static void Main() { try { ITrainer player = TrainerFactory.CreateTrainer <Player>(); var mainStory = new MainStory(player); mainStory.BeginStory(); } catch (Exception ex) { Console.WriteLine($"Something bad happened in the game! Please report the error. Error: {ex.Message} \n Error's StackTrace: {ex.StackTrace}"); } }
public Player() { Context = new MainStory(); }