Beispiel #1
0
		public override void HandleInput( InputHelper Input, GameTime gameTime ) {
			base.HandleInput( Input, gameTime );

			// switch through steps
			if( Input.WasKeyPressed( Keys.S ) )
				mPlayer.Step++;
		}
Beispiel #2
0
		public ScreenManager( GameClient game, bool debugPos )
			: base( game ) {
			mGameInstance = game;
			mInput = new InputHelper( game );
			mInput.DebugPosition = debugPos;
		}