public void SetPrediction(IPredictionInput input) { if (input == null) { throw new ArgumentNullException(nameof(input)); } this.Prediction = input; }
public SkillshotAbility(Hero owner, string ability, IPredictionInput prediction = null) : this(owner, (Ability)owner.FindSpell(ability), prediction) { }
public SkillshotAbility(Hero owner, Ability ability, IPredictionInput prediction = null) : base(owner, ability) { this.Prediction = prediction; }