Beispiel #1
0
 public virtual void OnTickEvent(DeltaEventArgs e)
 {
     if (TickEvent != null)
     {
         TickEvent(this, e);
     }
 }
Beispiel #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);
 }
Beispiel #3
0
 public virtual void OnTickEvent(DeltaEventArgs e)
 {
     if (TickEvent != null)
         TickEvent(this, e);
 }
Beispiel #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);
 }