public void GiveControl(IRocketLeagueInstance instance) { this.instance = instance; this.inControl = true; this.instance.Controller.Enabled = true; BackgroundWorker worker = new BackgroundWorker(); worker.DoWork += this.SteerRandomly; worker.RunWorkerAsync(); }
private void LaunchNewInstanceButton_Click(object sender, EventArgs e) { this.instance = DefaultRocketLeagueInstance.OpenNewInstance(); }
public TestGui() { InitializeComponent(); instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance(); }