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

            m_BuffMap.TryGetValue(buffId, out buff);
            return(buff);
        }
Beispiel #3
0
 public void RemoveBuff(AiBaseBuff buff)
 {
     buff.Destroy();
     m_BuffMap.Remove(buff.GetBuffId());
 }