PPL Assignment
IRM2015006
desperategirl.h
Go to the documentation of this file.
1 
2 #ifndef DESPERATEGIRL_H
3 #define DESPERATEGIRL_H
4 
5 #include "girl.h"
6 
7 /* DesperateGirl class
8  * Inherits Girl publicly
9  */
10 class DesperateGirl : public Girl {
11 private:
12  static const GirlNature nature = desperate;
13 public:
15  DesperateGirl(std::string name, int attr, int intel, int budget, BoyType boy_type);
17  float getHappiness() override;
19  GirlNature getNature() override;
20 };
21 
22 #endif /* DESPERATEGIRL_H */
DesperateGirl(std::string name, int attr, int intel, int budget, BoyType boy_type)
BoyType
Definition: girl_type.h:12
std::string name
Definition: girl.h:24
static const GirlNature nature
Definition: desperategirl.h:12
Definition: girl.h:18
GirlNature getNature() override
BoyType boy_type
Definition: girl.h:29
float getHappiness() override
GirlNature
Definition: girl_type.h:5
int attr
Definition: girl.h:25
int budget
Definition: girl.h:27
int intel
Definition: girl.h:26