Show / Hide Table of Contents

    Class TimerService.ListenerPriorityComparer

    Inheritance
    Object
    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
    Back to top Copyright © 2020 East Side Games Inc.