MockGlobalTime ClassDelta Engine Documentation
Increments the number of ticks that have passed every time it is polled. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Core GlobalTime
    DeltaEngine.Mocks MockGlobalTime

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

public class MockGlobalTime : GlobalTime

The MockGlobalTime type exposes the following members.

Constructors

  NameDescription
Public methodMockGlobalTime
Initializes a new instance of the MockGlobalTime 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
Fields

  NameDescription
Public fieldStatic memberUpdatePerSecond
Top
Properties

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