public BaseBuff GetBuff(int buffId) { BaseBuff buff = null; m_BuffMap.TryGetValue(buffId, out buff); return(buff); }
private void UpdateImp(BaseBuff buff, float dt) { buff.Update(dt); }
public void RemoveBuff(BaseBuff buff) { buff.Destroy(); m_BuffMap.Remove(buff.GetBuffId()); }