fix: IBehaviourCollector delegate parameter forgot on the concrete implementation
This commit is contained in:
parent
067bc51487
commit
803b670433
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user