public static ThrowAttackPet Instance(float bombRadius, float sightRadius, int lowest, int highest)
 {
     var key = new Tuple<float, float, int, int>(bombRadius, sightRadius, lowest, highest);
     ThrowAttackPet ret;
     if (!instances.TryGetValue(key, out ret))
         ret = instances[key] = new ThrowAttackPet(bombRadius, sightRadius, lowest, highest);
     return ret;
 }
        public static ThrowAttackPet Instance(float bombRadius, float sightRadius, int lowest, int highest)
        {
            var            key = new Tuple <float, float, int, int>(bombRadius, sightRadius, lowest, highest);
            ThrowAttackPet ret;

            if (!instances.TryGetValue(key, out ret))
            {
                ret = instances[key] = new ThrowAttackPet(bombRadius, sightRadius, lowest, highest);
            }
            return(ret);
        }