Пример #1
0
 public MainGame()
 {
     instance = this;
     graphics = new GraphicsDeviceManager(this)
     {
         PreferredBackBufferWidth = ScreenX,
         PreferredBackBufferHeight = ScreenY
     };
     graphics.IsFullScreen = true;
     Content.RootDirectory = "Content";
 }
Пример #2
0
        public MainGame()
        {
            instance = this;
            graphics = new GraphicsDeviceManager(this)
            {
                PreferredBackBufferWidth = ScreenX,
                PreferredBackBufferHeight = ScreenY
            };
            Components.Add(new GamerServicesComponent(this));
            Content.RootDirectory = "Content";
            graphics.IsFullScreen = true;

            Res.Culture = new CultureInfo("fr");
        }