public void GeneratingBullets(object sender, BulletCoordsEventArgs args) { bullets.Add(bulletFactory.CreateBullet(args.BulletType, args.Position)); }
protected virtual void OnGenBullets(BulletCoordsEventArgs args) { GenBullets?.Invoke(this, args); }
public void GeneratingBullets(object sender, BulletCoordsEventArgs args) { bullets.Add(bulletFactory.CreateBullet(args.BulletType, args.Position)); }
protected virtual void OnGenBullets(BulletCoordsEventArgs args) { GenBullets?.Invoke(this, args); }