示例#1
0
文件: AEffect.cs 项目: swak/UltimaXNA
 /// <summary>
 /// Adds an effect which will display when the parent effect despawns.
 /// </summary>
 /// <param name="effect"></param>
 public void AddChildEffect(AEffect effect)
 {
     if (m_Children == null)
     {
         m_Children = new List <AEffect>();
     }
     m_Children.Add(effect);
 }
示例#2
0
 /// <summary>
 /// Adds an effect which will display when the parent effect despawns.
 /// </summary>
 /// <param name="effect"></param>
 public void AddChildEffect(AEffect effect)
 {
     if (m_Children == null)
         m_Children = new List<AEffect>();
     m_Children.Add(effect);
 }
示例#3
0
 public void Add(AEffect e)
 {
     m_Effects.Add(e);
 }