Example #1
0
        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();
        }
Example #2
0
 private void LaunchNewInstanceButton_Click(object sender, EventArgs e)
 {
     this.instance = DefaultRocketLeagueInstance.OpenNewInstance();
 }
Example #3
0
 public TestGui()
 {
     InitializeComponent();
     instance = DefaultRocketLeagueInstance.GetDefaultRocketLeagueInstance();
 }