Compare commits
	
		
			1 Commits 
		
	
	
		
			7f610c6b32
			...
			0cb3b5f312
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								 | 
						0cb3b5f312 | 
| 
						 | 
					@ -1,12 +0,0 @@
 | 
				
			||||||
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