aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex06/HumanB.hpp
blob: a01c881a2c6bf2a698f37465922c98673e896d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   HumanB.hpp                                         :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/02 16:42:54 by cacharle          #+#    #+#             */
/*   Updated: 2020/02/02 16:54:18 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef HUMANB_HPP
# define HUMANB_HPP

# include <iostream>
# include "Weapon.hpp"

class HumanB
{
	private:
		std::string name;
		Weapon weapon;
	public:
		HumanB(std::string name);
		void attack();
		void setWeapon(Weapon weapon);
};

#endif