public DebugManager ( Microsoft.Xna.Framework.Game game, string debugFont ) : Microsoft.Xna.Framework | ||
game | Microsoft.Xna.Framework.Game | |
debugFont | string | |
return | Microsoft.Xna.Framework |
public DebugManager(Game game, string debugFont)
: base(game)
{
// Added as a Service.
Game.Services.AddService(typeof(DebugManager), this);
this.debugFont = debugFont;
// This component doesn't need be call neither update nor draw.
this.Enabled = false;
this.Visible = false;
}