コード例 #1
0
ファイル: GameClient.cs プロジェクト: GodLesZ/svn-dump
		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
		}
コード例 #2
0
ファイル: Program.cs プロジェクト: GodLesZ/svn-dump
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		static void Main( string[] args ) {
			using( GameClient game = new GameClient() ) {
				game.Run();
			}
		}