Anonymous
public text v1 · immutable/* Author: Laizerox */
/* pelaaja.h on ... */
using namespace std;
#define <string>
//pelaaja luokka tässä määrittellemme ja kutsumme kaikkei roska :)
class Pelaaja
{
private:
string name;
int age;
float money;
bool isSmoker;
bool sex;
public:
Pelaaja()
{
name = "";
age = 0;
money = 0;
isSmoker = false;
sex = false;
}
string TellName()
{
return name;
}
int TellAge()
{
return age;
}
void TellSex()
{
}
void TellSmoker()
{
}
void ChangeName(string Name)
{
name=Name;
}
void SetSmoker()
{
}
};