예제 #1
0
 internal void Lock(bool checkDodge = true)
 {
     this.CollisionResult = Collision.GetCollisions(this.Input.From.ToVector2(), this.CastPosition, this.Input.SpellRange, this.Input.SpellWidth, this.Input.SpellDelay, this.Input.SpellMissileSpeed);
     this.CheckCollisions();
     this.CheckOutofRange(checkDodge);
 }
예제 #2
0
 public SpellAoeResult(Vector2 castpos, CollisionResult col, int hc)
 {
     CastPosition    = castpos;
     CollisionResult = col;
     HitCount        = hc;
 }
예제 #3
0
 public PredictionResult(PredictionInput inp, AIBaseClient unit, Vector2 castpos, Vector2 unitpos, HitChance hc, CollisionResult col)
 {
     Input           = inp;
     Unit            = unit;
     CastPosition    = castpos;
     UnitPosition    = unitpos;
     HitChance       = hc;
     CollisionResult = col;
 }