Ejemplo n.º 1
0
 /// <summary>
 /// On the steal attempt.
 /// </summary>
 /// <param name="stealAttempt">StealAttempt</param>
 private void OnStealAttempt(StealAttempt stealAttempt)
 {
     if (this.StealAttemptHandled != null)
     {
         this.StealAttemptHandled(new StealAttemptEventArgs(this));
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:StatusQuoBaseball.Gameplay.StealAttemptEventArgs"/> class.
 /// </summary>
 /// <param name="attempt">StealAttempt</param>
 public StealAttemptEventArgs(StealAttempt attempt)
 {
     this.attempt = attempt;
 }