public static SpawnMinionImmediate Instance(short objType, float radius, int minCount, int maxCount)
 {
     var key = new Tuple<short, float, int, int>(objType, radius, minCount, maxCount);
     SpawnMinionImmediate ret;
     if (!instances.TryGetValue(key, out ret))
         ret = instances[key] = new SpawnMinionImmediate(objType, radius, minCount, maxCount);
     return ret;
 }
        public static SpawnMinionImmediate Instance(short objType, float radius, int minCount, int maxCount)
        {
            var key = new Tuple <short, float, int, int>(objType, radius, minCount, maxCount);
            SpawnMinionImmediate ret;

            if (!instances.TryGetValue(key, out ret))
            {
                ret = instances[key] = new SpawnMinionImmediate(objType, radius, minCount, maxCount);
            }
            return(ret);
        }