Method CompareTo
CompareTo(CollisionEvent)
Compares this CollisionEvent object to another to determine their relative ordering.
Declaration
public int CompareTo(CollisionEvent other)
Parameters
Type | Name | Description |
---|---|---|
CollisionEvent | other | Another instance to compare. |
Returns
Type | Description |
---|---|
int | Negative if this object is less than the other, 0 if they are equal, or positive if this is greater. |