Example #1
0
 // constructor
 public Livestock(CareLevel _careLevel, Temperment _temperment, WaterType _waterType, string _colours, string _waterConditions, string _maxSize, string _name, string _description, double _price) : base(_name, _description, _price)
 {
     CareLevel       = _careLevel;
     Temperment      = _temperment;
     WaterType       = _waterType;
     Colours         = _colours;
     WaterConditions = _waterConditions;
     MaxSize         = _maxSize;
 }
Example #2
0
 // Constructor
 public CartLivestock(CareLevel _careLevel, Temperment _temperment, WaterType _waterType, string _colours, string _waterConditions, string _maxSize, string _name, string _description, double _price) :
     base(_careLevel, _temperment, _waterType, _colours, _waterConditions, _maxSize, _name, _description, _price)
 {
 }