public void TestGetDistanceBetweenInside() { Assert.AreEqual(0, TangibleUtilities.GetDistanceBetween(_t6, _t7)); }
public void TestGetDistanceBetween() { Assert.AreEqual(1.5f, TangibleUtilities.GetDistanceBetween(_t5, _t8)); }
public void TestGetDistanceBetweenOverlap() { Assert.AreEqual(0f, TangibleUtilities.GetDistanceBetween(_t5, _t6)); }
public bool InRange(ITangible target) { return(TangibleUtilities.GetDistanceBetween(Agent, target) <= Range); }