|
PPL Assignment
IRM2015006
|
#include <girl.h>


Public Member Functions | |
| void | makeCouple (Boy *boy) |
| void | setGiftBasket (std::vector< Gift > *gifts) |
| virtual float | getHappiness ()=0 |
| virtual GirlNature | getNature ()=0 |
| bool | isCompatible (Boy *boy) |
Public Attributes | |
| bool | committed |
| std::string | name |
| int | attr |
| int | intel |
| int | budget |
| float | happiness |
| BoyType | boy_type |
| Boy * | boyfriend |
| std::vector< Gift > * | gifts |
|
pure virtual |
Find the happiness of the girl Abstract method
Implemented in ChoosyGirl, DesperateGirl, and NormalGirl.

|
pure virtual |
Get nature of the girl Abstract method
Implemented in ChoosyGirl, DesperateGirl, and NormalGirl.
| bool Girl::isCompatible | ( | Boy * | boy | ) |
| void Girl::makeCouple | ( | Boy * | boy | ) |
| void Girl::setGiftBasket | ( | std::vector< Gift > * | gifts | ) |