32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* HumanA.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/09/06 02:27:27 by aortigos #+# #+# */
|
|
/* Updated: 2025/09/06 02:28:09 by aortigos ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef HUMANA_HPP
|
|
|
|
# define HUMANA_HPP
|
|
|
|
# include <iostream>
|
|
# include "../Weapon/Weapon.hpp"
|
|
|
|
class HumanA
|
|
{
|
|
private:
|
|
std::string name;
|
|
Weapon &weapon;
|
|
|
|
public:
|
|
HumanA(const std::string &name, Weapon &weapon);
|
|
void attack() const;
|
|
};
|
|
|
|
#endif
|