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