48 unsigned int hitPoints;
49 unsigned int energyPoints;
50 unsigned int attackDamage;
Represents a basic robot character.
static const unsigned int defaultHitPoints
static const unsigned int defaultAttackDamage
void beRepaired(unsigned int amount)
unsigned int getHitPoints() const
unsigned int getAttackDamage() const
virtual void attack(const std::string &target)
ClapTrap(const ClapTrap &other)
void takeDamage(unsigned int amount)
ClapTrap & operator=(const ClapTrap &other)
static const unsigned int defaultEnergyPoints
virtual const std::string & getName() const
unsigned int getEnergyPoints() const
ClapTrap(const std::string &name)