Пример #1
0
        /// <summary>
        /// Método responsável por chamar a rotação a direita do punho esquerdo
        /// </summary>
        public Result <Exception, int> LeftWristRotateToTheRight()
        {
            if (!CanWristRotate(LeftElbow))
            {
                return(new DeniedWristRotateException());
            }

            return(LeftWrist.RotateToTheRight());
        }
Пример #2
0
        /// <summary>
        /// Método responsável por chamar a extensão do cotovelo esquerdo
        /// </summary>
        public Result <Exception, int> LeftElbowExpand()
        {
            if (LeftElbowPosition == 45 && LeftWristDirection != 0)
            {
                LeftWrist.SetToInitialState();
            }

            return(LeftElbow.Expand());
        }