Compare commits
2 Commits
0cb3b5f312
...
7f610c6b32
Author | SHA1 | Date |
---|---|---|
HumanoidSandvichDispenser | 7f610c6b32 | |
John Montagu, the 4th Earl of Sandvich | d63a93bb93 |
|
@ -0,0 +1,12 @@
|
|||
using Godot;
|
||||
|
||||
namespace SupaLidlGame.Extensions;
|
||||
|
||||
public static class TimerExtensions
|
||||
{
|
||||
public static void Restart(this Timer timer, double timeSec = -1)
|
||||
{
|
||||
timer.Stop();
|
||||
timer.Start(timeSec);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue