PPL Assignment
IRM2015006
|
#include <normalgirl.h>
Public Member Functions | |
NormalGirl (std::string name, int attr, int intel, int budget, BoyType boy_type) | |
float | getHappiness () override |
GirlNature | getNature () override |
![]() | |
void | makeCouple (Boy *boy) |
void | setGiftBasket (std::vector< Gift > *gifts) |
bool | isCompatible (Boy *boy) |
Static Private Attributes | |
static const GirlNature | nature = normal |
Additional Inherited Members | |
![]() | |
bool | committed |
std::string | name |
int | attr |
int | intel |
int | budget |
float | happiness |
BoyType | boy_type |
Boy * | boyfriend |
std::vector< Gift > * | gifts |
Header for normalgirl class
Definition at line 10 of file normalgirl.h.
NormalGirl::NormalGirl | ( | std::string | name, |
int | attr, | ||
int | intel, | ||
int | budget, | ||
BoyType | boy_type | ||
) |
Parametrized constructor
Definition at line 6 of file normalgirl.cpp.
|
overridevirtual |
|
overridevirtual |
|
staticprivate |
Nature of girl
Definition at line 12 of file normalgirl.h.