Esempio n. 1
0
        static void Main(string[] args)
        {
            LaunchOptions options = new LaunchOptions();

            Parser.Default.ParseArguments <LaunchOptions>(args)
            .WithParsed(o => options = o);

            using (MainGame ourGame = new MainGame(options))
            {
                ourGame.Run();
            }
        }
Esempio n. 2
0
 public MainGame(LaunchOptions options)
 {
     this.options   = options;
     manager        = new GraphicsDeviceManager(this);
     IsMouseVisible = true;
 }