private void Tick() { if (Enabled) { if (DeciSecondRemaining > 0) { DeciSecondRemaining -= 10; } else { TimeoutEvents.ForEach(ev => { EventHelper.Instance.RunEvent(ev); }); TimeoutEvents.RemoveAll(s => s != null); } } }
private void tick() { if (Enabled) { if (SecondsRemaining > 0) { SecondsRemaining -= 10; } else { TimeoutEvents.ForEach(ev => EventHelper.Instance.RunEvent(ev)); TimeoutEvents.RemoveAll(s => s != null); } } }