Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public static void Main(string[] args)
 {
     using (GameHost host = Host.GetSuitableDesktopHost(@"sample-game"))
         using (Game game = new SampleGameGame())
             host.Run(game);
 }
Ejemplo n.º 3
0
 public static void Main()
 {
     using (Game game = new SampleGameGame())
         using (GameHost host = Host.GetSuitableHost(@"sample-game"))
             host.Run(game);
 }