Class Timer
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public class Timer
- Inheritance
-
Timer
- Derived
- Inherited Members
Constructors
Timer(float, float, bool)
public Timer(float gameTime, float duration, bool autoReset = true)
Parameters
Properties
Duration
public float Duration { get; protected set; }
Property Value
PreviousDeltaTime
public float PreviousDeltaTime { get; }
Property Value
Methods
AdjustStartTime(float)
public void AdjustStartTime(float deltaTime)
Parameters
deltaTime
float
Check(float)
public virtual bool Check(float gameTime)
Parameters
gameTime
float
Returns
ElapsedTime()
public float ElapsedTime()
Returns
Reset(float)
public void Reset(float gameTime)
Parameters
gameTime
float
Reset(float, float)
public void Reset(float gameTime, float newDuration)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).