-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPrincessCustomer.h
More file actions
34 lines (26 loc) · 1017 Bytes
/
PrincessCustomer.h
File metadata and controls
34 lines (26 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef PRINCESSCUSTOMER_H
#define PRINCESSCUSTOMER_H
#include "CustomerEntity.h"
// PrincessCustomer is a child class of CustomerEntity
class PrincessCustomer : public CustomerEntity {
private:
int dessertsEaten;
bool complainTriggered;
public:
// Constructor that initializes a PrincessCustomer with an ID and a specific position
PrincessCustomer(std::string fID, Position position);
// Method to update the Customer's ordering and behaviour over time
void update() override;
// Method to handle the assignment of Food to a Customer and to set appropriate messages
// based on the timing and correctness of the food served
void assignFood(Food* food) override;
// Method to order a Dessert
void orderDessert() override;
// Method for the PrincessCustomer to complain
void complain() override;
// PrincessCustomer doesn't use this method
void tip() override;
// PrincessCustomer doesn't use this method
void chitChat() override;
};
#endif