style: use my one (with logic) norm for header hope u enjoy it

This commit is contained in:
Raphael 2024-12-23 14:36:04 +01:00
parent ff72109a4e
commit 2d6b2ddb83
13 changed files with 316 additions and 315 deletions

View file

@ -6,25 +6,25 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/05 13:34:19 by rparodi #+# #+# */
/* Updated: 2024/11/05 14:23:03 by rparodi ### ########.fr */
/* Updated: 2024/12/23 12:38:16 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef HUMANA_HPP
#define HUMANA_HPP
#include "Weapon.hpp"
#include <iostream>
#include <string>
class HumanA {
public:
HumanA(std::string name, Weapon &toGive);
~HumanA();
void attack();
private:
std::string _name;
Weapon *_weapon;
};
#define HUMANA_HPP
#include "Weapon.hpp"
#include <iostream>
#include <string>
class HumanA {
public:
HumanA(std::string name, Weapon &toGive);
~HumanA();
void attack();
private:
std::string _name;
Weapon *_weapon;
};
#endif