summaryrefslogtreecommitdiff
path: root/ex03/HumanA.hpp
blob: b373665889047636aecd06ad76f71072dc79697f (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: dkaiser <dkaiser@student.42heilbronn.de    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2025/02/10 11:59:28 by dkaiser           #+#    #+#             */
/*   Updated: 2025/02/10 12:25:54 by dkaiser          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef HUMANA_H_
#define HUMANA_H_

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

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

#endif