/// <summary> /// Returns direction which bot should take to reach the desirable point /// </summary> public static Directions GetBotDirection(DiscretePoint bot, DiscretePoint obj) { return(GetBotDirection(bot.X, bot.Y, obj.X, obj.Y)); }
/// <summary> /// Returns distance between 2 points /// </summary> public static double Distance(DiscretePoint a, DiscretePoint b) { return(Distance(a.X, a.Y, b.X, b.Y)); }