aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex06/Weapon.hpp
blob: d9ad47681c52d9f7384aa3b5d503bcbfe08a60bb (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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   Weapon.hpp                                         :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/02 16:34:31 by cacharle          #+#    #+#             */
/*   Updated: 2020/04/13 10:16:46 by charles          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef WEAPON_HPP
# define WEAPON_HPP

# include <string>

class Weapon
{
public:
    Weapon(std::string t);
    const std::string& getType() const;
    void setType(const std::string& t);

private:
    std::string type;  // subject want litteraly `type`
};

#endif