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