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

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