1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
class Gmon
{
public:
Gmon(const string& name = "", string move1 = "", string move2 = "", string move3 = "", string move4 = "", int attack1 = 0, int attack2 = 0, int attack3 = 0, int attack4 = 0, int health = 0, int experience = 0, int power = 0);
string m_Name;
string m_Move1;
string m_Move2;
string m_Move3;
string m_Move4;
int m_Attack1;
int m_Attack2;
int m_Attack3;
int m_Attack4;
int m_Health;
int m_Experience;
int m_Power;
void SetAttack1( int m_eHealth);
void SetAttack2( int m_eHealth);
void SetAttack3( int m_eHealth);
void SetAttack4( int m_eHealth);
/*void SeteAttack(int m_Health);*/
int GetAttack1(int m_eHealth);
int GetAttack2(int m_eHealth);
int GetAttack3(int m_eHealth);
int GetAttack4(int m_eHealth);
int GeteAttack1(int m_Health);
int GeteAttack2(int m_Health);
int GeteAttack3(int m_Health);
int GeteAttack4(int m_Health);
};
Gmon::Gmon(const string& name, string move1, string move2, string move3, string move4, int attack1, int attack2 , int attack3, int attack4, int health, int experience, int power):
m_Name(name), m_Move1(move1), m_Move2(move2), m_Move3(move3), m_Move4(move4), m_Attack1(attack1), m_Attack2(attack2), m_Attack3(attack3), m_Attack4(attack4), m_Health(health), m_Experience(experience), m_Power(power)
{}
class Emon : public Gmon
{
public:
Emon(const string& name = "", string move1 = "", string move2 = "", string move3 = "", string move4 = "", int attack1 = 0, int attack2 = 0, int attack3 = 0, int attack4 = 0, int ehealth = 0);
int m_eHealth;
int ehealth;
};
Emon::Emon(const string& name, string move1, string move2, string move3, string move4, int attack1, int attack2 , int attack3, int attack4, int ehealth):
Gmon (name,move1,move2,move3,move4,attack1,attack2 ,attack3,attack4), m_eHealth(ehealth) //This means Emon will share the constructor with Gmon
{}
Gmon Dog("Flare, the Pyro Dog", "Flaming Piss", "Fireball", "Ash Fart", "Volcanic Carchase",8,13,24,30,160,0,50);
Gmon Turtle("Oogway, the Lax Turtle", "Slow Wit", "Turtle Fur", "Shell Spin", "Kamikaze Half Shell Breakdance",9,14,22,35,175,0,50);
Gmon Plant("Bud, the Quick-Witted Plant", "Pulsating Vine", "Hydroponic Hypnosis", "...as a Kite", "Vulva Flytrap",8,13,20,27,140,0,50);
Emon EKitty("Kitty Kaaat", "Panic Pee", "Calculated Clawing", "Vicious Pounce", "Spaztic Maul",7,14,21,25,120);
Emon EBlob("Blob", "Slimy Slap", "Amorphous Absorption", "Enervating Envelop", "Insane in the Membrane",6,15,20,26,140);
Emon EBat("Ozzy", "Prepared Pierce", "Sucky Sucky", "Swarming Fangs", "Bite It's Freakin Head Off!",8,16,24,32,155);
Emon EGrr("Grr", "Jockey","Yut", "Shin kick","Fancy Pants",10,20,30,40,200);
|