You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/23 10:53:16 by narnaud #+# #+# */
/* Updated: 2022/07/19 02:47:30 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#include "ScavTrap.hpp"
#include "FragTrap.hpp"
#include "DiamondTrap.hpp"
int main(void)
{
ClapTrap a("A");
ScavTrap b("B");
FragTrap c("C");
DiamondTrap d("D");
a.attack("B");
b.attack("C");
c.attack("B");
c.highFivesGuys();
d.attack("C");
d.whoAmI();
}