Jumpvalley 0.5.0
An app and library that can be used to test and run 3D platformer levels. Currently being made with Godot.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
Jumpvalley.Timing.OffsetStopwatch Class Reference

This class extends the Stopwatch (in the standard C# library) so that an initial value for elapsed time can be specified. This initial value acts as an offset for the Stopwatch's real elapsed time. More...

Inheritance diagram for Jumpvalley.Timing.OffsetStopwatch:

Public Member Functions

 OffsetStopwatch (TimeSpan offset)
 Creates a new instance of OffsetStopwatch
 

Public Attributes

TimeSpan TimeOffset
 The elapsed time offset applied to the original Elapsed variable in order to return the offsetted elapsed time in OffsetElapsedTime
 

Properties

TimeSpan OffsetElapsedTime [get, set]
 The elapsed time after applying the time offset defined in TimeOffset
 

Detailed Description

This class extends the Stopwatch (in the standard C# library) so that an initial value for elapsed time can be specified. This initial value acts as an offset for the Stopwatch's real elapsed time.

Constructor & Destructor Documentation

◆ OffsetStopwatch()

Jumpvalley.Timing.OffsetStopwatch.OffsetStopwatch ( TimeSpan offset)
inline

Creates a new instance of OffsetStopwatch

Parameters
offsetThe time offset to apply

The documentation for this class was generated from the following file: