ex00 done
This commit is contained in:
25
ex00/main.cpp
Normal file
25
ex00/main.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user