/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/23 10:53:16 by narnaud #+# #+# */ /* Updated: 2022/06/23 17:34:04 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "ScavTrap.hpp" int main(void) { ClapTrap a("A"); ClapTrap b("B"); ScavTrap c("C"); a.attack("B"); b.attack("C"); c.attack("A"); a.attack("C"); b.attack("A"); c.beRepaired(10); a.beRepaired(5); b.attack("C"); c.guardGate(); }