示例#1
0
 private static void Main()
 {
     using (var game = new MatchGame())
     {
         game.Run();
     }
 }
示例#2
0
        public MatchGame()
        {
            Graphics = new GraphicsDeviceManager(this)
            {
                PreferredBackBufferHeight = 600,
                PreferredBackBufferWidth  = 500
            };

            Content.RootDirectory = "Content";
            IsMouseVisible        = true;
            Instance = this;
        }