/// <summary>
 /// Reduce la duración del timer
 /// </summary>
 /// <param name="secondsToReduce"></param>
 public void ReduceDuration(float secondsToReduce)
 {
     durationInSeconds -= secondsToReduce;
     Update();
     Reduced?.Invoke();
 }
Esempio n. 2
0
 internal void OnReduced(ParsingContext context, Production reducedProduction, ParseTreeNode resultNode)
 {
     Reduced?.Invoke(this, new ReducedEventArgs(context, reducedProduction, resultNode));
 }