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

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