-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
sweepAssigns Sweep to an issue or pull request.Assigns Sweep to an issue or pull request.
Description
Details
This client will have a list of the books that he looks at, add him to simulation
Checklist
-
looker_customer.h
• Create a new class LookerCustomer that inherits from the Customer class.
• Add a new private attribute, a vector of books that the customer has looked at.
• Add a public method to add a book to the looked at list.
• Override the interaction method to implement the behavior of just looking at books.
-
looker_customer.cpp
• Implement the methods defined in the LookerCustomer header file.
-
simulation.h
• Modify the select_random_data method to also generate LookerCustomers for the simulation.
-
simulation.cpp
• Implement the changes made in the Simulation header file.
• In the select_random_data method, add code to generate LookerCustomers.
• In the run method, add code to handle interactions with LookerCustomers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
sweepAssigns Sweep to an issue or pull request.Assigns Sweep to an issue or pull request.