aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex06/HumanA.hpp
blob: f1691b38d7ef9f3a2d2a6f6275f3631bbec8b893 (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   HumanA.hpp                                         :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/02 16:37:23 by cacharle          #+#    #+#             */
/*   Updated: 2020/04/13 10:24:13 by charles          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef HUMANA_HPP
# define HUMANA_HPP

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

class HumanA
{
public:
    HumanA(std::string name, Weapon& weapon);
    void attack();
private:
    std::string m_name;
    Weapon& m_weapon;
};

#endif