// Invoke the AttackMade event private void SendAttackMade(AttackMadeEventArgs e) { if (AttackMade != null) { AttackMade(this, e); } }
private void HandleAttackMade(object sender, AttackMadeEventArgs e) { attackToBeMade = e.attack; }
// Invoke the AttackMade event private void SendAttackMade(AttackMadeEventArgs e) { if (AttackMade != null) { AttackMade(this, e); } }
private void HandleAttackMade(object sender, AttackMadeEventArgs e) { attackToBeMade = e.attack; }