-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSeniorCustomer.h
More file actions
27 lines (21 loc) · 900 Bytes
/
SeniorCustomer.h
File metadata and controls
27 lines (21 loc) · 900 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
#ifndef SENIORCUSTOMER_H
#define SENIORCUSTOMER_H
#include "CustomerEntity.h"
// SeniorCustomer is a child class of CustomerEntity
class SeniorCustomer : public CustomerEntity {
public:
// Constructor that initializes a SeniorCustomer with an ID and a specific position
SeniorCustomer(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 have a chit-chat with the Player after finishing their meal
void chitChat() override;
// SeniorCustomer doesn't use this method
void tip() override;
// SeniorCustomer doesn't use this method
void complain() override;
};
#endif