CRaPI - Correct Robust and Perfect API

Clock Members

Clock overview

Public Instance Constructors

Clock ConstructorConstructs a new clock.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToStringThis method returns the state of the clock.

Public Instance Events

TickOnCycleSoonEndingRaised due to the TicksLeftToSendEvent there should be left on the current cycle.
TickOverTimeOnCycleHow much time has passed a cycle duration
TickPlayOffRaised every TimeInterval, if the game state is play off.
TickPlayOnRaised every TimeInterval, if the games state is play on.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnTick When the internal CRaPI clock ticks the subsribed events will be raised due to its specified raise condtions TickPlayOn

See Also

Clock Class | TeamYaffa.CRaPI Namespace