/* ************************************************************************** */ /* */ /* :::::::: */ /* ClapTrap.hpp :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/03/27 16:26:32 by whaffman #+# #+# */ /* Updated: 2025/03/28 11:35:08 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #pragma once #include class ClapTrap { protected: std::string _name; int _hitpoints; int _energy_points; int _attack_damage; public: ClapTrap(); ClapTrap(std::string name); ClapTrap(ClapTrap const &src); ~ClapTrap(); ClapTrap &operator=(ClapTrap const &rhs); void attack(std::string const &target); void takeDamage(unsigned int amount); void beRepaired(unsigned int amount); };