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