19 lines
1.0 KiB
C++
19 lines
1.0 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* HumanA.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/11/04 19:41:23 by adjoly #+# #+# */
|
|
/* Updated: 2024/11/04 19:42:58 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <iostream>
|
|
#include "HumanA.hpp"
|
|
|
|
void HumanA::attack(void) {
|
|
std::cout << this->name << " attacks with their " << this->weapon.getType() << std::endl;
|
|
}
|