style: use my one (with logic) norm for header hope u enjoy it
This commit is contained in:
parent
ff72109a4e
commit
2d6b2ddb83
13 changed files with 316 additions and 315 deletions
|
|
@ -6,27 +6,27 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/05 13:34:19 by rparodi #+# #+# */
|
||||
/* Updated: 2024/11/05 14:32:31 by rparodi ### ########.fr */
|
||||
/* Updated: 2024/12/23 12:38:24 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef HUMANB_HPP
|
||||
#define HUMANB_HPP
|
||||
|
||||
#include "Weapon.hpp"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
class HumanB {
|
||||
public:
|
||||
HumanB(std::string name);
|
||||
~HumanB();
|
||||
void attack();
|
||||
void setWeapon(Weapon &_toGive);
|
||||
private:
|
||||
std::string _name;
|
||||
bool _isArmed;
|
||||
Weapon *_weaponGiven;
|
||||
};
|
||||
#define HUMANB_HPP
|
||||
|
||||
#include "Weapon.hpp"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
class HumanB {
|
||||
public:
|
||||
HumanB(std::string name);
|
||||
~HumanB();
|
||||
void attack();
|
||||
void setWeapon(Weapon &_toGive);
|
||||
private:
|
||||
std::string _name;
|
||||
bool _isArmed;
|
||||
Weapon *_weaponGiven;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue