PPL Assignment
IRM2015006
Main Page
Classes
Files
File List
File Members
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 */
ChoosyGirl::getHappiness
float getHappiness() override
Definition:
choosygirl.cpp:18
ChoosyGirl
Definition:
choosygirl.h:10
ChoosyGirl::nature
static const GirlNature nature
Definition:
choosygirl.h:12
BoyType
BoyType
Definition:
girl_type.h:12
ChoosyGirl::getNature
GirlNature getNature() override
Definition:
choosygirl.cpp:36
Girl::name
std::string name
Definition:
girl.h:24
choosy
Definition:
girl_type.h:6
Girl
Definition:
girl.h:18
ChoosyGirl::ChoosyGirl
ChoosyGirl(std::string name, int attr, int intel, int budget, BoyType boy_type)
Definition:
choosygirl.cpp:5
Girl::boy_type
BoyType boy_type
Definition:
girl.h:29
GirlNature
GirlNature
Definition:
girl_type.h:5
Girl::attr
int attr
Definition:
girl.h:25
Girl::budget
int budget
Definition:
girl.h:27
girl.h
Girl::intel
int intel
Definition:
girl.h:26
girls
choosygirl.h
Generated by
1.8.11