/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ClapTrap.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/01/10 14:54:21 by rparodi #+# #+# */ /* Updated: 2025/02/10 10:24:18 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef CLAPTRAP_HPP #define CLAPTRAP_HPP #include class ClapTrap { public: ClapTrap(); ClapTrap(ClapTrap const ©); ClapTrap(std::string name); ~ClapTrap(); void attack(const std::string& target); void takeDamage(unsigned int amount); void beRepaired(unsigned int amount); protected: std::string _name; int _hit_point; int _energy_point; int _attack_damage; private: }; #endif