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