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

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

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