public static UnsetConditionEffect Instance(ConditionEffectIndex eff)
 {
     UnsetConditionEffect ret;
     if (!instances.TryGetValue(eff, out ret))
         ret = instances[eff] = new UnsetConditionEffect(eff);
     return ret;
 }
Example #2
0
        public static UnsetConditionEffect Instance(ConditionEffectIndex eff)
        {
            UnsetConditionEffect ret;

            if (!instances.TryGetValue(eff, out ret))
            {
                ret = instances[eff] = new UnsetConditionEffect(eff);
            }
            return(ret);
        }