示例#1
0
    public void AddPotion(IEventArgs potion)
    {
        EventArgsPotAth potAth = potion as EventArgsPotAth;
        Potions         pot    = potAth.Pot;
        int             id     = potAth.Id;

        _potions[id].SetPotion(pot);
    }
示例#2
0
 public void PotionsAth(IEventArgs args)
 {
     EventArgsPotAth potAth = (EventArgsPotAth)args;
 }
示例#3
0
    public void SetPotion(IEventArgs args)
    {
        EventArgsPotAth potAth = args as EventArgsPotAth;

        slot[potAth.Id].sprite = potAth.Pot == null ? None : potAth.Pot.icon;
    }