Exemplo n.º 1
0
 public MainGame()
 {
     instance = this;
     graphics = new GraphicsDeviceManager(this)
     {
         PreferredBackBufferWidth = ScreenX,
         PreferredBackBufferHeight = ScreenY
     };
     graphics.IsFullScreen = true;
     Content.RootDirectory = "Content";
 }
Exemplo n.º 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");
        }