Photon Fusion 2.1.1

Tick.RelationalComparer Class Referencesealed

Provides a mechanism for comparing two Tick objects. More...

Public Member Functions

int Compare (Tick x, Tick y)
 Compares two Tick objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Detailed Description

Provides a mechanism for comparing two Tick objects.

Member Function Documentation

◆ Compare()

int Compare ( Tick x,
Tick y )

Compares two Tick objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Parameters
xThe first Tick object to compare.
yThe second Tick object to compare.
Returns
A signed integer that indicates the relative values of x and y.