public static bool WithinRangeOfSelf(IWorldObject wo, int maxDistance) { if (wo == null) { throw new ArgumentNullException("wo"); } return WithinRangeOfSelf(wo.Coordinates(), maxDistance); }