public HealthPotion Use() { HealthPotion temp = bag[0]; bag.Remove(temp); return(temp); }
public void Heal(HealthPotion potion) { hp = hp + potion.heal; if (hp > max_hp) { hp = max_hp; } }
public void Drop() { HealthPotion temp = bag[0]; bag.Remove(temp); }
public void Add() { HealthPotion potion = new HealthPotion(); bag.Add(potion); }