// cust.h  (modified from car.h)
// customer 

#ifndef _CUST_H
#define _CUST_H

class Cust {
private:
   double arrivalTime;
   int itemsBought;

public:

   // Constructor.
   //
   // The number of items bought is a property of a customer, so it belongs in
   // this class. It is also something the customer "knows" when it arrives
   // at the cashier, so it should be calculated in the constructor.
   // CODE: should change distribution inside this method.
   Cust ();

   // getArrivalTime: return the customer's arrival time.
   inline double getArrivalTime () { return arrivalTime; }

   // getItemsBought: return the number of items bought by the customer.
   inline int getItemsBought () { return itemsBought; }

   // setArrivalTime: set the customer's arrival time.
   inline void setArrivalTime (double time) { arrivalTime = time; }
};

#endif
