FRBDK/AIEditor/AIEditor/AIEditor/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()
        {
            Renderer.UseRenderTargets = false;
            FlatRedBallServices.InitializeFlatRedBall(this, graphics);
            this.IsFixedTimeStep = false;
            mFormMethods = new EditorObjects.FormMethods();
            EditorData.Initialize();
            LightManager.AddAmbientLight(Color.White);
            GuiData.Initialize();
            IsMouseVisible = true;
            foreach (string s in Environment.GetCommandLineArgs())
            {
                ProcessCommandLineArgument(s);
            }
            base.Initialize();
        }
protected override void Initialize ( ) { Renderer . UseRenderTargets = false ; FlatRedBallServices . InitializeFlatRedBall ( this , graphics ) ; this . IsFixedTimeStep = false ; mFormMethods = new EditorObjects . FormMethods ( ) ; EditorData . Initialize ( ) ; LightManager . AddAmbientLight ( Color . White ) ; GuiData . Initialize ( ) ; IsMouseVisible = true ; foreach ( string s in Environment . GetCommandLineArgs ( ) ) { ProcessCommandLineArgument ( s ) ; } 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 .
// Uncomment the following line and add your Screen's fully qualified name // if using Screens in your project.  If not, or if you don't know what it means, // just ignore the following line for now. // For more information on Screens see the Screens wiki article on FlatRedBall.com. //Screens.ScreenManager.Start(typeof(AIEditor.Screens.TestScreen).FullName);