public void TwitchMoveUp() { if (this.TestMode) { TwitchExtensions.Click(this.TestModelUpButton); } #if (!DEBUG) else { TwitchExtensions.Click(this._buttons[1]); } #endif }
public void TwitchSubmit() { if (this.TestMode) { TwitchExtensions.Click(this.TestModelSubmitButton); } #if (!DEBUG) else { TwitchExtensions.Click(this._buttons[2]); } #endif }
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 TwitchPressSubmit() { if (this.TestMode) { TwitchExtensions.Press(this.TestModelSubmitButton); } #if (!DEBUG) else { TwitchExtensions.Click(this.submitButton); } #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 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); }