Пример #1
0
        protected override void Initialize()
        {
            //NOTE: this is basic initialization of core components, nothing else
            Screen.InitialSetup(_graphics, this, GraphicsDevice); // setup screen and create cameras
            // init the post processing manager
            PostProcessingManager.Initialize();

            // Allow physics drawing for debug-reasons (display boundingboxes etc..)
            // Todo: can be removed in the final stage of the game, but not yet, since it's extremly helpful to visualize the physics world
            PhysicsDrawer.Initialize(this, GraphicsDevice);

            base.Initialize();
        }