TimeRulerLibrary.DebugManager.DebugManager C# (CSharp) Method

DebugManager() public method

public DebugManager ( Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework
game Microsoft.Xna.Framework.Game
return Microsoft.Xna.Framework
        public DebugManager( Game game )
            : base(game)
        {
            // Added as a Service.
            Game.Services.AddService( typeof( DebugManager ), this );

            Content = new ContentManager( game.Services );
            Content.RootDirectory = "Content/Debug";

            // This component doesn't need be call neither update nor draw.
            this.Enabled = false;
            this.Visible = false;
        }