/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ScavTrap.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/23 15:17:41 by narnaud #+# #+# */ /* Updated: 2022/06/23 17:03:22 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include "ClapTrap.hpp" #define ST_HEALTH 100 #define ST_ENERGY 50 #define ST_DMG 20 class ScavTrap : public ClapTrap { public: ScavTrap (std::string name, size_t hp = ST_HEALTH,\ size_t ep = ST_ENERGY, size_t atk = ST_DMG); ~ScavTrap (void); void attack(const std::string& target); void guardGate(void); };