FSO.Client.TSOGame.TSOGame C# (CSharp) Méthode

TSOGame() public méthode

public TSOGame ( ) : System
Résultat System
        public TSOGame()
            : base()
        {
            GameFacade.Game = this;
            Content.RootDirectory = FSOEnvironment.GFXContentDir;
            Graphics.SynchronizeWithVerticalRetrace = true;

            Graphics.PreferredBackBufferWidth = GlobalSettings.Default.GraphicsWidth;
            Graphics.PreferredBackBufferHeight = GlobalSettings.Default.GraphicsHeight;

            Graphics.HardwareModeSwitch = false;
            Graphics.ApplyChanges();

            Console.WriteLine(IsActive);

            //disabled for now. It's a hilarious mess and is causing linux to freak out.
            //Log.UseSensibleDefaults();
        }