chore: bumped dotnet version to 10
This commit is contained in:
@@ -14,18 +14,17 @@ public class Timer : Behaviour, IUpdate, IEnterUniverse, IExitUniverse, ITimer
|
||||
public double StartTime { get; protected set; } = 0f;
|
||||
public float Percentage => (float)(1f - (Remaining / StartTime));
|
||||
|
||||
private double _remaining = 0f;
|
||||
public double Remaining
|
||||
{
|
||||
get => _remaining;
|
||||
get;
|
||||
protected set
|
||||
{
|
||||
if (value < .0f)
|
||||
value = .0f;
|
||||
|
||||
_remaining = value;
|
||||
field = value;
|
||||
}
|
||||
}
|
||||
} = 0f;
|
||||
|
||||
private bool shouldBeTicking = false;
|
||||
private bool hasStartedTickingBefore = false;
|
||||
|
||||
Reference in New Issue
Block a user