Class TimerService.ListenerPriorityComparer
Namespace: IdleKit.Gameplay
Assembly: cs.temp.dll.dll
Syntax
protected class ListenerPriorityComparer : IComparer<ITimerListener>
Methods
Compare(ITimerListener, ITimerListener)
We want the listeners to be sorted from max to min value.
Declaration
public int Compare(ITimerListener x, ITimerListener y)
Parameters
| Type | Name | Description |
|---|---|---|
| ITimerListener | x | |
| ITimerListener | y |
Returns
| Type | Description |
|---|---|
| Int32 |