Example #1
0
 /// <summary>
 /// Pushes the player vertically.
 /// </summary>
 /// <param name="speed">The speed.</param>
 /// <param name="spring">If set to <c>true</c> will set the player to the spring animation.</param>
 public void PushVertically(double speed, bool spring)
 {
     _moveController.SetSpeed(null, speed);
     if (spring)
     {
         _springing = true;
     }
 }