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