static void Main(string[] args) { var startManager = new StartManager(new ConsolePlayerCreator()); startManager.Start(); WriteInfo(); }
public static void Main() { #if NETCOREAPP3_1 //XamlDisplay.Init(); #endif Wpf.AppStart app = new Wpf.AppStart(); StartManager.Start(); app.Run(); }
private async void StartGame() { Thread.CurrentThread.Name = "Main"; try { await Task.Run(() => { _startManager.Start(); }); } catch (Exception ex) { MessageBox.Show(ex.Message); } }