public static void Main(string[] args) { bool useOsuTK = args.Contains(@"--tk"); using (GameHost host = Host.GetSuitableHost(@"sample-game", useOsuTK: useOsuTK)) using (Game game = new SampleGameGame()) host.Run(game); }
public static void Main(string[] args) { using (GameHost host = Host.GetSuitableDesktopHost(@"sample-game")) using (Game game = new SampleGameGame()) host.Run(game); }
public static void Main() { using (Game game = new SampleGameGame()) using (GameHost host = Host.GetSuitableHost(@"sample-game")) host.Run(game); }