Exemplo n.º 1
0
 public Potion(int IDno, int goldVal, string myName, Potion p)
     : base(IDno, goldVal, myName)
 {
     my_type  = p.get_type();
     is_empty = p.is_potion_empty();
     quantity = p.get_my_quantity();
     potency  = p.potion_potency();
 }
Exemplo n.º 2
0
 public Potion(int IDno, int goldVal, string myName, Potion_Type ptype, int ppotent)
     : base(IDno, goldVal, myName)
 {
     my_type  = ptype;
     is_empty = false;
     quantity = 1;
     potency  = ppotent;
 }
Exemplo n.º 3
0
 public HealthPoation(string name, Potion_Type potion, int points)
 {
     this.Name   = name;
     this.Potion = potion;
     this.Points = points;
 }