Exemplo n.º 1
0
 public override void Enter(StateMario previousState)
 {
     base.Enter(previousState);
     this.StateMachine.Mario.SetSpriteState(SpriteStates.Sprites.JUMPING);
     this.StateMachine.Mario.Info.velocity.Y = -8.5f;
     SoundFactory.PlaySoundEffect(SoundFactory.Jump());
 }