StopwatchTime ClassDelta Engine Documentation
Provides ticks for the Time class via the System.Diagnostics.Stopwatch class. This class is usually the fallback if nothing else has been registered for Time.Current. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Core GlobalTime
    DeltaEngine.Core StopwatchTime

Namespace: DeltaEngine.Core
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class StopwatchTime : GlobalTime

The StopwatchTime type exposes the following members.

Constructors

  NameDescription
Public methodStopwatchTime
Initializes a new instance of the StopwatchTime class
Top
Methods

  NameDescription
Public methodDispose (Inherited from GlobalTime.)
Public methodGetSecondsSinceStartToday
Returns an accurate seconds float value for today, would get inaccurate with more days. View code on GitHub
(Inherited from GlobalTime.)
Protected methodGetTicks (Overrides GlobalTime GetTicks .)
Public methodUpdate (Inherited from GlobalTime.)
Top
Properties

  NameDescription
Public propertyFps (Inherited from GlobalTime.)
Public propertyMilliseconds (Inherited from GlobalTime.)
Protected propertyTicksPerSecond (Overrides GlobalTime TicksPerSecond.)
Top
See Also