private void animateDisengageBattleOWN()
        {
            int count;

            Animations.RotateAnimation rotateAnimation;

            count = 0;

            foreach (Models.CardGUIModel cardGUI in listOwnBattleGround)
            {
                if (cardGUI.Card.isEngaged)
                {
                    rotateAnimation        = new Animations.RotateAnimation(false);
                    rotateAnimation.border = cardGUI.Border;
                    rotateAnimation.setSpeed(100);
                    addEvent(new Event(rotateAnimation));
                    count++;
                }
            }
        }
示例#2
0
        private void animateDisengageManaOPP()
        {
            int count;

            Animations.RotateAnimation rotateAnimation;

            count = 0;

            foreach (Models.CardGUIModel cardGUI in listOppManaZone)
            {
                if (cardGUI.Card.isEngaged)
                {
                    rotateAnimation        = new Animations.RotateAnimation(false);
                    rotateAnimation.border = cardGUI.Border;
                    rotateAnimation.setSpeed(100);
                    addAnimation(rotateAnimation);
                    count++;
                }
            }
        }