Пример #1
0
 private void UpdateImp(AiBaseBuff buff, float dt)
 {
     if (!m_Monster.InDeath)
     {
         buff.Update(dt);
     }
 }
Пример #2
0
        public AiBaseBuff GetBuff(int buffId)
        {
            AiBaseBuff buff = null;

            m_BuffMap.TryGetValue(buffId, out buff);
            return(buff);
        }
Пример #3
0
 public void RemoveBuff(AiBaseBuff buff)
 {
     buff.Destroy();
     m_BuffMap.Remove(buff.GetBuffId());
 }