Compare by age. This is used by ScoreFlash to make sure
messages are always sorted correctly so that Dequeue() works
as expected and spreading messages works as expected.
Namespace: NarayanaGames.ScoreFlashComponentAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
Parameters
- otherScoreMessage
- Type: System Object
another ScoreMessage to compare with
Return Value
this.Age.CompareTo(other.Age) ;-)Implements
IComparable CompareTo(Object)See Also