Esempio n. 1
0
 /// <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));
 }
Esempio n. 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));
 }