-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCharacter.hpp
More file actions
34 lines (30 loc) · 843 Bytes
/
Character.hpp
File metadata and controls
34 lines (30 loc) · 843 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 __CHARACTER_HPP
#define __CHARACTER_HPP
// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <string>
#include <Utilities.hpp>
class Character: public Utilities {
protected:
int m_age;
std::string m_name;
public:
Character ();
Character (const std::string& iName,
const int& iAge);
virtual ~Character();
const int& getAge() const;
const std::string& getName() const;
void setAge(const int&);
void setName(const std::string&);
private:
/**
* Display of the object.
*
* @return std::string Dump of the object.
*/
virtual std::string describe() const;
};
#endif // __CHARACTER_HPP