예제 #1
0
        public static bool WithinRangeOfSelf(IWorldObject wo, int maxDistance)
        {
            if (wo == null)
            {
                throw new ArgumentNullException("wo");
            }

            return WithinRangeOfSelf(wo.Coordinates(), maxDistance);
        }