/// <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)); }
/// <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)); }