-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVIPCustomer.h
More file actions
33 lines (25 loc) · 962 Bytes
/
VIPCustomer.h
File metadata and controls
33 lines (25 loc) · 962 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
#ifndef VIPCUSTOMER_H
#define VIPCUSTOMER_H
#include "CustomerEntity.h"
// VIPCustomer is a child class of CustomerEntity
class VIPCustomer : public CustomerEntity {
private:
int tipAmount;
public:
// Constructor that initializes a VIPCustomer with an ID and a specific position
VIPCustomer(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 call after customer is done with all the services
void finishMeal() override;
// Method to tip the player
void tip() override;
// VIPCustomer doesn't use this method
void complain() override;
// VIPCustomer doesn't use this method
void chitChat() override;
};
#endif