private void RunBlindBotButton_Click(object sender, EventArgs e) { if (this.instance == null) { this.instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance(); } GameWindow.BringToForeground(); this.instance.ControlBot.GiveControl(this.instance); }
private void StartButton_Click(object sender, EventArgs e) { this.Invoke(new Action(() => { this.instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance(); this.Status.Text = "Default Instance Aquired."; this.instance.ClockInfoPanel = this.ClockSearchProgress; this.Status.Text = "Beginning Search..."; instance.SearchForMatch(TimeSpan.FromSeconds(120)); })); }
public TestGui() { InitializeComponent(); instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance(); }