/// <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)); } }
/// <summary> /// Creates a new action event. /// </summary> public FishingActionEventArgs(FishingAction action) { Action = action; }