コード例 #1
0
ファイル: Screen.GameField.cs プロジェクト: GodLesZ/svn-dump
		public override void HandleInput( InputHelper Input, GameTime gameTime ) {
			base.HandleInput( Input, gameTime );

			// switch through steps
			if( Input.WasKeyPressed( Keys.S ) )
				mPlayer.Step++;
		}
コード例 #2
0
ファイル: ScreenManager.cs プロジェクト: GodLesZ/svn-dump
		public ScreenManager( GameClient game, bool debugPos )
			: base( game ) {
			mGameInstance = game;
			mInput = new InputHelper( game );
			mInput.DebugPosition = debugPos;
		}