Example #1
0
 protected virtual void OnSpin(DreidelEventArgs e)
 {
     if (Spin != null)
     {
         Spin.Invoke(this, e);
     }
 }
Example #2
0
 void IApiSpinnable.OnSpin()
 {
     Spin?.Invoke(this, EventArgs.Empty);
 }
 void IApiSpinnable.OnSpin()
 {
     Spin?.Invoke(this, EventArgs.Empty);
     Switch?.Invoke(this, new SwitchEventArgs(true, Entity.Null));
     OnSwitch(true);
 }