Example #1
0
 public void AddPredictionImplementation(string name, ISkillshotPrediction pred)
 {
     this.Implementations[name] = pred;
     this.UpdatePredictionImplementations();
 }
Example #2
0
 private void UpdatePredictionImplementations()
 {
     string[] updatedPredList = this.Implementations.Keys.ToArray();
     this.PredictionMenuItem.Items = updatedPredList;
     this.Implementation           = this.Implementations[this.PredictionMenuItem.SelectedItem];
 }
Example #3
0
 public void ResetImplementation()
 {
     this.Implementation = new PredictionImpl();
 }