/// <summary>
 /// Checks wall collisions
 /// </summary>
 /// <param name="to">End position</param>
 /// <returns>true if collision found</returns>
 public static bool CheckWallCollision(this Spell s, Vector2 to)
 {
     return(Collision.CheckWallCollision(s.From.ToVector2(), to));
 }
示例#2
0
 /// <summary>
 /// Checks wall collisions
 /// </summary>
 /// <param name="to">End position</param>
 /// <returns>true if collision found</returns>
 public static bool CheckWallCollision(this LeagueSharp.Common.Spell s, Vector2 to)
 {
     return(Collision.CheckWallCollision(s.From.To2D(), to));
 }