/// <summary>
 /// Gets Prediction result
 /// </summary>
 /// <param name="input">Neccesary inputs for prediction calculations</param>
 /// <param name="vectorLenght">Vector Lenght</param>
 /// <returns>Prediction result as <see cref="Prediction.Vector.Result"/></returns>
 public static Result GetPrediction(Prediction.Input input, float vectorLenght)
 {
     return(GetPrediction(input.Target, input.SpellWidth, input.SpellDelay, input.SpellMissileSpeed, input.SpellRange, vectorLenght, input.Path, input.AvgReactionTime, input.LastMovChangeTime, input.AvgPathLenght, input.RangeCheckFrom.ToVector2()));
 }
示例#2
0
 /// <summary>
 /// Gets Prediction result
 /// </summary>
 /// <param name="input">Neccesary inputs for prediction calculations</param>
 /// <returns>Prediction result as <see cref="Prediction.Result"/></returns>
 public static Prediction.Result GetPrediction(Prediction.Input input)
 {
     return(GetPrediction(input.Target, input.SpellWidth, input.SpellDelay, input.SpellMissileSpeed, input.SpellRange, input.SpellCollisionable, input.Path, input.AvgReactionTime, input.LastMovChangeTime, input.AvgPathLenght, input.LastAngleDiff, input.From.LSTo2D(), input.RangeCheckFrom.LSTo2D()));
 }
示例#3
0
 /// <summary>
 /// Gets Prediction result
 /// </summary>
 /// <param name="input">Neccesary inputs for prediction calculations</param>
 /// <param name="ringRadius">Ring radius</param>
 /// <returns>Prediction result as <see cref="Prediction.Result"/></returns>
 public static Prediction.Result GetPrediction(Prediction.Input input, float ringRadius)
 {
     return(GetPrediction(input.Target, input.SpellWidth, ringRadius, input.SpellDelay, input.SpellMissileSpeed, input.SpellRange, input.SpellCollisionable, input.Path, input.AvgReactionTime, input.LastMovChangeTime, input.AvgPathLenght, input.From.ToVector2(), input.RangeCheckFrom.ToVector2()));
 }