예제 #1
0
        private void OnShotMoved(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;
 }