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


Public Member Functions | |
| GeekBoy (std::string name, int attr, int intel, int budget, int min_attr_req) | |
| float | getHappiness () override |
| BoyNature | getNature () override |
Public Member Functions inherited from Boy | |
| void | makeCouple (Girl *girl) |
| void | setGiftBasket (std::vector< Gift > *gifts) |
| bool | isCompatible (Girl *girl) |
Static Private Attributes | |
| static const BoyNature | nature = geek |
Additional Inherited Members | |
Public Attributes inherited from Boy | |
| std::string | name |
| int | attr |
| int | intel |
| int | budget |
| int | min_attr_req |
| float | happiness |
| Girl * | girlfriend |
| bool | committed |
| std::vector< Gift > * | gifts |
| GeekBoy::GeekBoy | ( | std::string | name, |
| int | attr, | ||
| int | intel, | ||
| int | budget, | ||
| int | min_attr_req | ||
| ) |
Definition at line 3 of file geekboy.cpp.
|
overridevirtual |
|
overridevirtual |