Пример #1
0
 public virtual void OnTickEvent(DeltaEventArgs e)
 {
     if (TickEvent != null)
     {
         TickEvent(this, e);
     }
 }
Пример #2
0
 /// <summary>
 ///     Handles the <see cref="E:UpdateEvent" /> event. This event uses the <see cref="UpdateThrottler" /> object to assist
 ///     in maintaining thread saftey,
 /// </summary>
 /// <param name="e">The <see cref="DeltaEventArgs" /> instance containing the event data.</param>
 public virtual void OnUpdateEvent(DeltaEventArgs e)
 {
     OnUpdate?.Invoke(this, e);
 }
Пример #3
0
 public virtual void OnTickEvent(DeltaEventArgs e)
 {
     if (TickEvent != null)
         TickEvent(this, e);
 }
Пример #4
0
 /// <summary>
 ///     Handles the <see cref="E:UpdateEvent" /> event. This event uses the <see cref="UpdateThrottler" /> object to assist
 ///     in maintaining thread saftey,
 /// </summary>
 /// <param name="e">The <see cref="DeltaEventArgs" /> instance containing the event data.</param>
 public virtual void OnUpdateEvent(DeltaEventArgs e)
 {
     OnUpdate?.Invoke(this, e);
 }