Beispiel #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();
 }
Beispiel #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;
 }
Beispiel #3
0
 public HealthPoation(string name, Potion_Type potion, int points)
 {
     this.Name   = name;
     this.Potion = potion;
     this.Points = points;
 }