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