-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSecurity.hpp
41 lines (32 loc) · 1.25 KB
/
Security.hpp
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
35
36
37
38
39
40
41
//
// Created by Justin Lin on 2019-06-06.
//
/*********************************************************************
** Program name: Security.hpp
** Author: Justin Lin
** Date: 06/06/2019
** Description: This is the header file for the derived Security class.
* The constructor that will call the base Space class
* constructor. Lastly, there are 3 override methods.
* The name method returns the name of the class. The info
* method prints a description of the cell. Lastly, the
* interactions method will provide a menu of options based upon
* the bool member variables. There is also a helper method that
* will check if the player has the required items to proceed.
*********************************************************************/
#ifndef SECURITY_HPP
#define SECURITY_HPP
#include "Space.hpp"
class Security : public Space {
public:
// Ctor/Dtor
Security();
~Security() {};
// Override methods
std::string name() override;
void info() override;
Space* interactions(Character *player) override;
// Uniform check helper interaction
bool uniformCheck(Character *player);
};
#endif //SECURITY_HPP