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
|
#ifndef MARSTANKSOLDIER_H
#define MARSTANKSOLDIER_H
#include <string>
#include "MarsAlien.h"
#include "TankSoldier.h"
using namespace std;
class MarsTankAlien : public MarsAlien, public TankSoldier
{
private:
MarsAlien marsalien;
TankSoldier tanksoldier;
public:
MarsTankAlien()
{
}
MarsTankAlien(string skin, string skincolor, string language, string marslanguage, string body, string height, string uniform, string run, string weapon, string skill)
:marsalien(skin, skincolor, language, marslanguage, body, height)
{
}
MarsTankAlien(string skin, string skincolor, string language, string marslanguage, string body, string height, string uniform, string run, string weapon, string skill)
:tanksoldier(uniform, run, weapon, skill)
{
}
void getSkin(string skin);
void getLanguage(string language);
void getBody(string body);
void getSkinColor(string skincolor);
void getMarsLanguage(string marslanguage);
void getHeight(string height);
void getUniform(string uniform);
void getRun(string run);
void getWeapon(string weapon);
void getSkill(string skill);
};
#endif /* MARSTANKSOLDIER_H */
|