rendered paste body#ifndef COMBATANT_HPP
#define COMBATANT_HPP
enum CombatLocation {
LOCATION_LEFT = 0,
LOCATION_RIGHT
};
enum CombatLoyalty {
LOYALTY_GOOD = 0,
LOYALTY_EVIL
};
enum CombatFormation {
FORMATION_FRONT = 0,
FORMATION_BACK
};
class Combatant : public CombatEntity {
public:
CombatantInfo &getInfo(void) { return info; }
int getDirection(void);
AnimationSet *getAnimationSet(void);
CombatLocation getLocation(void);
CombatLoyalty getLoyalty(void);
std::string getName(void);
std::string getPrintableName(void);
void setDirection(Direction dir);
void setInfo(CombatantInfo &inf);
void setLocation(CombatLocation l);
void setLoyalty(CombatLoyalty l);
Combatant(const std::string &name);
virtual ~Combatant();
protected:
std::string name;
Direction direction;
AnimationSet *animSet;
CombatantInfo info;
CombatLocation location;
CombatLoyalty loyalty;
CombatStatusInfo status;
std::string printableName;
};
#endif