Table of Contents

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

gameTime float
duration float
autoReset bool

Properties

Duration

public float Duration { get; protected set; }

Property Value

float

PreviousDeltaTime

public float PreviousDeltaTime { get; }

Property Value

float

Methods

AdjustStartTime(float)

public void AdjustStartTime(float deltaTime)

Parameters

deltaTime float

Check(float)

public virtual bool Check(float gameTime)

Parameters

gameTime float

Returns

bool

ElapsedTime()

public float ElapsedTime()

Returns

float

Reset(float)

public void Reset(float gameTime)

Parameters

gameTime float

Reset(float, float)

public void Reset(float gameTime, float newDuration)

Parameters

gameTime float
newDuration float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).