Пример #1
0
        private void TriggerShotMoved(Shot shot, bool disappeared)
        {
            var shotMoved = ShotMoved;

            shotMoved?.Invoke(this, new ShotMovedEventArgs(shot, disappeared));
        }
Пример #2
0
 public ShotMovedEventArgs(Shot shot, bool disappeared)
 {
     Shot        = shot;
     Disappeared = disappeared;
 }