Пример #1
0
 protected virtual void InvokePlayerAttack(PlayerAttackEventArgs e)
 {
     if (onPlayerAttack != null)
     {
         onPlayerAttack.Invoke(this, e);
     }
 }
Пример #2
0
 /// <summary>
 /// Fired when the <see cref="E:Player"/> attacks
 /// </summary>
 /// <param name="args">The event data</param>
 protected virtual void OnAttack(PlayerAttackEventArgs args)
 {
 }