FRBDK/XmlObjectEditor/Game1.cs
/// <summary>
/// Allows the game to perform any initialization it needs to before starting to run.
/// This is where it can query for any required services and load any non-graphic
/// related content.  Calling base.Initialize will enumerate through any components
/// and initialize them as well.
/// </summary>
Allows the game to perform any initialization it needs to before starting to run.
This is where it can query for any required services and load any non-graphic
related content.  Calling base.Initialize will enumerate through any components
and initialize them as well.
Allows the game to perform any initialization it needs to before starting to run . This is where it can query for any required services and load any non - graphic related content . Calling base . Initialize will enumerate through any components and initialize them as well .
protected override void Initialize()
        {
            IsMouseVisible = true;
            GuiManager.IsUIEnabled = true;
            FlatRedBallServices.InitializeFlatRedBall(this, graphics);
            SpriteManager.Camera.FarClipPlane = 12000;
            EditorData.Initialize();
            base.Initialize();
        }
protected override void Initialize ( ) { IsMouseVisible = true ; GuiManager . IsUIEnabled = true ; FlatRedBallServices . InitializeFlatRedBall ( this , graphics ) ; SpriteManager . Camera . FarClipPlane = 12000 ; EditorData . Initialize ( ) ; base . Initialize ( ) ; }
Allows the game to perform any initialization it needs to before starting to run.
Allows the game to perform any initialization it needs to before starting to run .
//Renderer.UseRenderTargets = false; // Initialize FRB // Add window resize event //this.Window.ClientSizeChanged += new EventHandler(Window_ClientSizeChanged); // Initialize Editor Data