Class Time
- Namespace
- MohawkGame2D
- Assembly
- GAME 10003 Game Development Foundations - 2D Game Template.dll
Access time information.
public static class Time
- Inheritance
-
Time
- Inherited Members
Remarks
A static wrapper to standardize raylib's time API.
Properties
DeltaTime
The time between the last frame and this frame in seconds.
public static float DeltaTime { get; }
Property Value
FramesElapsed
How many frames have elapsed since the program started.
public static int FramesElapsed { get; set; }
Property Value
SecondsElapsed
How much time in seconds has elapsed since the program started.
public static float SecondsElapsed { get; set; }