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