Ejemplo n.º 1
0
        public void _init_effs()
        {
            List <EffectTemplateInfo> effs = Info.GetEffs();

            int length = effs.Count;

            for (int i = 0; i < length; i++)
            {
                BaseEffect baseEffect = EffectFactory.instance.Create(this, effs[i]);
                if (baseEffect == null)
                {
                    continue;
                }

                _effects.Add(baseEffect);
                _init_single_effect(baseEffect);
            }
        }