C# Class PerformanceMeasuring.GameDebugTools.DebugSystem

DebugSystem is a helper class that streamlines the creation of the various GameDebug pieces. While games are free to add only the pieces they care about, DebugSystem allows games to quickly create and add all the components by calling the Initialize method.
Datei anzeigen Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
Initialize ( Microsoft.Xna.Framework.Game game, string debugFont ) : DebugSystem

Initializes the DebugSystem and adds all components to the game's Components collection.

Private Methods

Method Description
DebugSystem ( ) : Microsoft.Xna.Framework

Method Details

Initialize() public static method

Initializes the DebugSystem and adds all components to the game's Components collection.
public static Initialize ( Microsoft.Xna.Framework.Game game, string debugFont ) : DebugSystem
game Microsoft.Xna.Framework.Game The game using the DebugSystem.
debugFont string The font to use by the DebugSystem.
return DebugSystem