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.
29 lines
1.1 KiB
29 lines
1.1 KiB
3 years ago
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* HumanA.hpp :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/06/14 12:52:11 by narnaud #+# #+# */
|
||
|
/* Updated: 2022/06/16 10:33:40 by narnaud ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#ifndef HUMANA_HPP
|
||
|
# define HUMANA_HPP
|
||
|
|
||
|
# include "Weapon.hpp"
|
||
|
|
||
|
class HumanA
|
||
|
{
|
||
|
public:
|
||
|
HumanA(string name, Weapon &weap);
|
||
|
void attack(void) const;
|
||
|
private:
|
||
|
string _name;
|
||
|
Weapon &_weapon;
|
||
|
};
|
||
|
|
||
|
#endif
|