This constructor is an implementation detail. Do not use this.
Clones the time.
Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.
The Game Time value. This may be null if this time has no Game Time value.
Access the time's value for the timing method specified.
The Real Time value. This may be null if this time has no Real Time value.
Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.
Generated using TypeDoc
A time that can store a Real Time and a Game Time. Both of them are optional.