Exemplo n.º 1
0
    public void SetDodge(string name)
    {
        ItemEntityHp itemHp = null;

        if (itemHpDicts.TryGetValue(name, out itemHp))
        {
            itemHp.SetDodge();
        }
    }
Exemplo n.º 2
0
    public void SetDodge(string key)
    {
        ItemEntityHp item = null;

        if (hpItemDic.TryGetValue(key, out item) == true)
        {
            item.SetDodge();
        }
    }