Increments the number of ticks that have passed every time it is polled.
View code on GitHub
Inheritance Hierarchy
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
The MockGlobalTime type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | MockGlobalTime | Initializes a new instance of the MockGlobalTime class |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | (Inherited from GlobalTime.) |
![]() | GetSecondsSinceStartToday |
Returns an accurate seconds float value for today, would get inaccurate with more days.
View code on GitHub (Inherited from GlobalTime.) |
![]() | GetTicks | (Overrides GlobalTime GetTicks .) |
![]() | Update | (Inherited from GlobalTime.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | UpdatePerSecond |
Properties
Name | Description | |
---|---|---|
![]() | Fps | (Inherited from GlobalTime.) |
![]() | Milliseconds | (Inherited from GlobalTime.) |
![]() | TicksPerSecond | (Overrides GlobalTime TicksPerSecond.) |
See Also