예제 #1
0
        public static void CompleteShootAnimation(bool isZoomIn)
        {
            isShootAnimation = false;

            if (curBullets == 0 && addBullets == 0)
            {
                InterfaceElements.ShowVictoryDlg();
                return;
            }

            if (isZoomIn)
            {
                WpfAnimatedGif.ImageBehavior.SetAnimatedSource(weaponModel, null);
                weaponModel.Source = scopeModel;
            }
            else
            {
                StartBoltAnimation();
            }
        }