protected void OnShotsFired(EnemyShootingEventArgs args) { var handler = ShotsFired; if (handler != null) { handler(this, args); } }
public virtual void Enemy_ShotsFired(object sender, EnemyShootingEventArgs e) { BulletController.AddBullets(e.Bullets); }