public GameClient() { mInstance = this; IsFixedTimeStep = false; IsMouseVisible = true; Constants.Graphics = new GraphicsDeviceManager( this ); Constants.Content = new ContentManager( this.Services, "Content" ); Constants.InputHelper = new InputHelper( this ); Components.Add( Constants.InputHelper ); #if DEBUG Components.Add( new FPS( this ) ); #endif }
/// <summary> /// The main entry point for the application. /// </summary> static void Main( string[] args ) { using( GameClient game = new GameClient() ) { game.Run(); } }