summaryrefslogtreecommitdiff
path: root/ex03/HumanB.hpp
blob: ce4edbdc4ddc05106686ababfb8c4085a0efcb19 (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: dkaiser <dkaiser@student.42heilbronn.de    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2025/02/10 12:00:55 by dkaiser           #+#    #+#             */
/*   Updated: 2025/02/10 12:29:43 by dkaiser          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef HUMANB_H_
#define HUMANB_H_

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

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

#endif