Artemis.Engine.DisplayManager.DisplayManager C# (CSharp) Method

DisplayManager() private method

private DisplayManager ( GameKernel game, Artemis.Engine.RenderPipeline renderPipeline, Resolution baseResolution, string windowTitle, Color bgColor ) : System
game GameKernel
renderPipeline Artemis.Engine.RenderPipeline
baseResolution Resolution
windowTitle string
bgColor Color
return System
        internal DisplayManager( GameKernel game
                               , RenderPipeline renderPipeline
                               , Resolution baseResolution
                               , string windowTitle
                               , Color bgColor )
        {
            this.game            = game;
            this.graphicsDevice  = renderPipeline.GraphicsDevice;
            this.graphicsManager = renderPipeline.GraphicsDeviceManager;
            this.spriteBatch     = renderPipeline.SpriteBatch;

            window = game.Window;
            WindowResolution = baseResolution;

            WindowTitle = windowTitle;
            BackgroundColour = bgColor;

            ReinitDisplayProperties(true);
        }