DodongosQuest.Game1.Game1 C# (CSharp) Méthode

Game1() public méthode

public Game1 ( ) : System
Résultat System
        public Game1()
        {
            _graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            ContentHelper.Content = Content;
            _graphics.PreferredBackBufferWidth = 1024;
            _graphics.PreferredBackBufferHeight = 768;
            if (ConfigurationSettings.AppSettings["RunInFullScreenMode"] == "1")
                _graphics.IsFullScreen = true;
            GameReference.Game = this;
        }