예제 #1
0
 /// <summary>
 /// Sets the current action.
 /// </summary>
 /// <param name="action">The new action.</param>
 private void OnActionChanged(FishingAction action)
 {
     _action = action;
     if (ActionChanged != null)
     {
         ActionChanged(this, new FishingActionEventArgs(_action));
     }
 }
예제 #2
0
 /// <summary>
 /// Creates a new action event.
 /// </summary>
 public FishingActionEventArgs(FishingAction action)
 {
     Action = action;
 }