43 unsigned int hitPoints;
44 unsigned int energyPoints;
45 unsigned int attackDamage;
Represents a basic robot character.
virtual ~ClapTrap()
Destructor implementation.
void beRepaired(unsigned int amount)
unsigned int getHitPoints() const
Gets the current hit points of the ClapTrap.
unsigned int getAttackDamage() const
Gets the attack damage of the ClapTrap.
virtual void attack(const std::string &target)
Attack function implementation.
ClapTrap(const ClapTrap &other)
void takeDamage(unsigned int amount)
ClapTrap & operator=(const ClapTrap &other)
const std::string & getName() const
Gets the name of the ClapTrap.
unsigned int getEnergyPoints() const
Gets the current energy points of the ClapTrap.
ClapTrap(const std::string &name)