Ejemplo n.º 1
0
		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
		}
Ejemplo n.º 2
0
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		static void Main( string[] args ) {
			using( GameClient game = new GameClient() ) {
				game.Run();
			}
		}