fix: IBehaviourCollector delegate parameter forgot on the concrete implementation

This commit is contained in:
Syntriax 2025-04-01 12:19:12 +03:00
parent 067bc51487
commit 803b670433

View File

@ -22,14 +22,14 @@ public interface IBehaviourCollector<T> : IHasGameManager, IEnumerable<T> where
/// <summary> /// <summary>
/// Delegate for handling the <see cref="OnCollected"/> event. /// Delegate for handling the <see cref="OnCollected"/> event.
/// </summary> /// </summary>
/// <param name="sender">The instance of the <see cref="BehaviourCollector{T}"/> that triggered the event.</param> /// <param name="sender">The instance of the <see cref="IBehaviourCollector{T}"/> that triggered the event.</param>
/// <param name="behaviourCollected">The object of type <typeparamref name="T"/> that was added to the collector.</param> /// <param name="behaviourCollected">The object of type <typeparamref name="T"/> that was added to the collector.</param>
public delegate void CollectedEventHandler(BehaviourCollector<T> sender, T behaviourCollected); delegate void CollectedEventHandler(IBehaviourCollector<T> sender, T behaviourCollected);
/// <summary> /// <summary>
/// Delegate for handling the <see cref="OnRemoved"/> event. /// Delegate for handling the <see cref="OnRemoved"/> event.
/// </summary> /// </summary>
/// <param name="sender">The instance of the <see cref="BehaviourCollector{T}"/> that triggered the event.</param> /// <param name="sender">The instance of the <see cref="IBehaviourCollector{T}"/> that triggered the event.</param>
/// <param name="behaviourRemoved">The object of type <typeparamref name="T"/> that was removed from the collector.</param> /// <param name="behaviourRemoved">The object of type <typeparamref name="T"/> that was removed from the collector.</param>
public delegate void RemovedEventHandler(BehaviourCollector<T> sender, T behaviourRemoved); delegate void RemovedEventHandler(IBehaviourCollector<T> sender, T behaviourRemoved);
} }