Exemple #1
0
        private void RaiseOnShoot(Shot shoot)
        {
            var args = new ShotEventArgs
            {
                Shot = shoot
            };

            OnShoot(args);
        }
Exemple #2
0
 protected void OnShoot(ShotEventArgs e)
 {
     ShootEvent?.Invoke(this, e);
 }