ex00 done

This commit is contained in:
2025-09-16 23:57:31 +02:00
commit 244932f905
4 changed files with 176 additions and 0 deletions

25
ex00/main.cpp Normal file
View File

@@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/12 13:17:34 by aortigos #+# #+# */
/* Updated: 2025/09/16 23:54:56 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#include "ClapTrap/ClapTrap.hpp"
int main()
{
ClapTrap hadi("Angel");
hadi.attack("google");
hadi.takeDamage(3);
hadi.beRepaired(5);
hadi.attack("Yahoo");
return (0);
}