mastring the simple heritage

This commit is contained in:
Raphael 2025-01-24 21:02:57 +01:00
parent 245ac4c3a9
commit d161579a2a
13 changed files with 376 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/10 15:50:07 by rparodi #+# #+# */
/* Updated: 2025/01/24 17:37:56 by rparodi ### ########.fr */
/* Updated: 2025/01/24 18:51:51 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,6 +20,9 @@ int main(void) {
test.attack("Moulinette");
test.takeDamage(42);
test.beRepaired(42);
test.guardGate();
test.guardGate();
test.guardGate();
std::cout << "\n\n[Broadcast]\n\tIn the Blue corner the actual cat of the 42 school !" << std::endl;
ClapTrap test2("Moulinette");
test2.beRepaired(32);