diff --git a/Engine.Core/Abstract/IBehaviourCollector.cs b/Engine.Core/Abstract/IBehaviourCollector.cs index e0d38e9..a1d4527 100644 --- a/Engine.Core/Abstract/IBehaviourCollector.cs +++ b/Engine.Core/Abstract/IBehaviourCollector.cs @@ -22,14 +22,14 @@ public interface IBehaviourCollector : IHasGameManager, IEnumerable where /// /// Delegate for handling the event. /// - /// The instance of the that triggered the event. + /// The instance of the that triggered the event. /// The object of type that was added to the collector. - public delegate void CollectedEventHandler(BehaviourCollector sender, T behaviourCollected); + delegate void CollectedEventHandler(IBehaviourCollector sender, T behaviourCollected); /// /// Delegate for handling the event. /// - /// The instance of the that triggered the event. + /// The instance of the that triggered the event. /// The object of type that was removed from the collector. - public delegate void RemovedEventHandler(BehaviourCollector sender, T behaviourRemoved); + delegate void RemovedEventHandler(IBehaviourCollector sender, T behaviourRemoved); }