/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ClapTrap.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos class ClapTrap { private: std::string name; unsigned int health; unsigned int energy; unsigned int attackDamage; public: ClapTrap(); ClapTrap(std::string name); ClapTrap(const ClapTrap &target); ClapTrap& operator=(const ClapTrap &target); ~ClapTrap(); void attack(const std::string &target); void takeDamage(unsigned int amount); void beRepaired(unsigned int amount); }; #endif