#ifndef CLAPTRAP_HPP # define CLAPTRAP_HPP #include #include class ClapTrap { private: std::string _name; unsigned int _hit_pts; unsigned int _energy_pts; unsigned int _attack_dmg; public: ClapTrap(); ~ClapTrap(); ClapTrap(const ClapTrap ©); ClapTrap(std::string name); ClapTrap &operator=(const ClapTrap &src); void attack(const std::string& target); void takeDamage(unsigned int amount); void beRepaired(unsigned int amount); }; #endif