示例#1
0
        public BaseBuff GetBuff(int buffId)
        {
            BaseBuff buff = null;

            m_BuffMap.TryGetValue(buffId, out buff);
            return(buff);
        }
示例#2
0
 private void UpdateImp(BaseBuff buff, float dt)
 {
     buff.Update(dt);
 }
示例#3
0
 public void RemoveBuff(BaseBuff buff)
 {
     buff.Destroy();
     m_BuffMap.Remove(buff.GetBuffId());
 }