You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Weapon.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/06/14 12:50:31 by narnaud #+# #+# */
|
|
/* Updated: 2022/07/18 10:07:39 by narnaud ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
# include <iostream>
|
|
|
|
using std::string;
|
|
using std::cout;
|
|
using std::cin;
|
|
using std::endl;
|
|
|
|
class Weapon
|
|
{
|
|
public:
|
|
Weapon(void);
|
|
Weapon(string type);
|
|
const string &getType(void) const;
|
|
void setType(string type);
|
|
private:
|
|
string _type;
|
|
};
|
|
|