Table of Contents

Delegate TickerCallback<TTicker>

Namespace
Uncreated.Warfare.Util.Timing
Assembly
Uncreated.Warfare.dll

Handles a ILoopTicker going off.

public delegate void TickerCallback<in TTicker>(TTicker ticker, TimeSpan timeSinceStart, TimeSpan deltaTime) where TTicker : ILoopTicker

Parameters

ticker TTicker

Ticker object that was invoked.

timeSinceStart TimeSpan

Total time since the ticker was created.

deltaTime TimeSpan

Total time since the last time the ticker was invoked (or since it was created if this is the first time).

Type Parameters

TTicker