/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* FragTrap.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/23 15:17:41 by narnaud #+# #+# */ /* Updated: 2022/06/23 17:59:52 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include "ClapTrap.hpp" #define FT_HEALTH 100 #define FT_ENERGY 100 #define FT_DMG 30 class FragTrap : public ClapTrap { public: FragTrap (std::string name, size_t hp = FT_HEALTH,\ size_t ep = FT_ENERGY, size_t atk = FT_DMG); ~FragTrap (void); void attack(const std::string& target); };