Code: Select all
class Enemy {
string nam; //name of said enemy
int chp; //current hp
int cmp; //current mp
int att; //attack
int def; //defense
int res; //resistance
int spe; //speed
int pre; //precision
int crt; //critical
public:
string ENam(string);
int EChp(int,int,int,int);
int ECmp(int,int,int,int);
int EAtt(int,int,int,int);
int EDef(int,int,int,int);
int ERes(int,int,int,int);
int ESpe(int,int,int,int);
int EPre(int,int,int,int);
int ECrt(int,int,int,int);
} e[2];
Can anyone help me with this problem???