Ejemplo n.º 1
0
        public void TwitchReleaseSubmit()
        {
            if (this.TestMode)
            {
                TwitchExtensions.Release(this.TestModelSubmitButton);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Release(this._buttons[2]);
            }
#endif
        }
Ejemplo n.º 2
0
        public void TwitchMoveUp()
        {
            if (this.TestMode)
            {
                TwitchExtensions.Click(this.TestModelUpButton);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Click(this._buttons[1]);
            }
#endif
        }
Ejemplo n.º 3
0
        public void TwitchPressSubmit()
        {
            if (this.TestMode)
            {
                TwitchExtensions.Press(this.TestModelSubmitButton);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Press(this._buttons[2]);
            }
#endif
        }
Ejemplo n.º 4
0
        public void TwitchMoveDown()
        {
            if (this.TestMode)
            {
                TwitchExtensions.Click(this.TestModelDownButton);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Click(this._buttons[0]);
            }
#endif
        }
        public void TwitchPress(SimonButtons button)
        {
            if (this.TestMode)
            {
                TwitchExtensions.Click(this.TestModelButtons[(int)button]);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Click(this.buttons[(int)button]);
            }
#endif
        }
        public void TwitchMoveDown(int index)
        {
            if (this.TestMode)
            {
                TwitchExtensions.Click(this.TestModelCharSpinners[index].DownButton);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Click(this.spinners[index].DownButton);
            }
#endif
        }
        public void TwitchRelease()
        {
            if (this.TestMode)
            {
                TwitchExtensions.Release(this.TestModelLever);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Release(this.springedSwitch);
            }
#endif
        }
        public bool TwitchCut(int spaceIndex)
        {
            if (this.WireSpaces[spaceIndex].Empty || this.WireSpaces[spaceIndex].Cut)
            {
                return(false);
            }
            if (this.TestMode)
            {
                TwitchExtensions.Click(this.TestModelWireSpaces[spaceIndex]);
            }
#if (!DEBUG)
            else
            {
                TwitchExtensions.Click(((ComplicatedWireSpace.LiveSpace) this.WireSpaces[spaceIndex]).VennSnippableWire);
            }
#endif
            return(true);
        }