From 661e81b55223907b2f7d3a11ec14ec58fd05940c Mon Sep 17 00:00:00 2001 From: Angel Ortigosa Perez Date: Sun, 14 Sep 2025 13:52:18 +0200 Subject: [PATCH] Applied norminette syntax for visual enjoyment --- ex00/Zombie/Zombie.cpp | 4 ++-- ex00/Zombie/Zombie.hpp | 4 ++-- ex00/Zombie/newZombie.cpp | 6 +++--- ex00/Zombie/randomChump.cpp | 6 +++--- ex00/main.cpp | 6 +++--- ex01/Zombie/Zombie.cpp | 4 ++-- ex01/Zombie/Zombie.hpp | 4 ++-- ex01/Zombie/zombieHorde.cpp | 7 ++++--- ex01/main.cpp | 6 +++--- ex02/main.cpp | 10 +++++----- ex03/HumanA/HumanA.cpp | 2 +- ex03/HumanA/HumanA.hpp | 2 +- ex03/HumanB/HumanB.cpp | 2 +- ex03/HumanB/HumanB.hpp | 2 +- ex03/Weapon/Weapon.cpp | 3 +-- ex03/Weapon/Weapon.hpp | 2 +- ex03/main.cpp | 4 ++-- ex04/main.cpp | 2 +- ex05/Harl/Harl.cpp | 2 +- ex05/Harl/Harl.hpp | 2 +- ex05/main.cpp | 6 +++--- ex06/Harl/Harl.cpp | 2 +- ex06/Harl/Harl.hpp | 2 +- ex06/main.cpp | 6 +++--- 24 files changed, 48 insertions(+), 48 deletions(-) diff --git a/ex00/Zombie/Zombie.cpp b/ex00/Zombie/Zombie.cpp index 7c22b5c..30b31a1 100644 --- a/ex00/Zombie/Zombie.cpp +++ b/ex00/Zombie/Zombie.cpp @@ -6,7 +6,7 @@ /* By: aortigos name << ": BraiiiiiiinnnzzzZ..." << std::endl; -} \ No newline at end of file +} diff --git a/ex00/Zombie/Zombie.hpp b/ex00/Zombie/Zombie.hpp index c6c9300..97e8123 100644 --- a/ex00/Zombie/Zombie.hpp +++ b/ex00/Zombie/Zombie.hpp @@ -6,7 +6,7 @@ /* By: aortigos announce(); delete (z); -} \ No newline at end of file +} diff --git a/ex00/main.cpp b/ex00/main.cpp index c30ade0..d810539 100644 --- a/ex00/main.cpp +++ b/ex00/main.cpp @@ -6,7 +6,7 @@ /* By: aortigos announce(); @@ -24,4 +24,4 @@ int main() delete(z); return (0); -} \ No newline at end of file +} diff --git a/ex01/Zombie/Zombie.cpp b/ex01/Zombie/Zombie.cpp index 34dcebc..7399463 100644 --- a/ex01/Zombie/Zombie.cpp +++ b/ex01/Zombie/Zombie.cpp @@ -6,7 +6,7 @@ /* By: aortigos name << ": BraiiiiiiinnnzzzZ..." << std::endl; -} \ No newline at end of file +} diff --git a/ex01/Zombie/Zombie.hpp b/ex01/Zombie/Zombie.hpp index 55c8d56..eb129a0 100644 --- a/ex01/Zombie/Zombie.hpp +++ b/ex01/Zombie/Zombie.hpp @@ -6,7 +6,7 @@ /* By: aortigos name << " attacks with their " << this->weapon.getType() << std::endl; -} \ No newline at end of file +} diff --git a/ex03/HumanA/HumanA.hpp b/ex03/HumanA/HumanA.hpp index 1cfdad7..a127ae0 100644 --- a/ex03/HumanA/HumanA.hpp +++ b/ex03/HumanA/HumanA.hpp @@ -17,7 +17,7 @@ # include # include "../Weapon/Weapon.hpp" -class HumanA +class HumanA { private: std::string name; diff --git a/ex03/HumanB/HumanB.cpp b/ex03/HumanB/HumanB.cpp index 9d88913..e84f253 100644 --- a/ex03/HumanB/HumanB.cpp +++ b/ex03/HumanB/HumanB.cpp @@ -31,4 +31,4 @@ void HumanB::attack() const void HumanB::setWeapon(Weapon &w) { this->weapon = &w; -} \ No newline at end of file +} diff --git a/ex03/HumanB/HumanB.hpp b/ex03/HumanB/HumanB.hpp index 1d18016..80b71f2 100644 --- a/ex03/HumanB/HumanB.hpp +++ b/ex03/HumanB/HumanB.hpp @@ -17,7 +17,7 @@ # include # include "../Weapon/Weapon.hpp" -class HumanB +class HumanB { private: std::string name; diff --git a/ex03/Weapon/Weapon.cpp b/ex03/Weapon/Weapon.cpp index e1c1152..7c37b81 100644 --- a/ex03/Weapon/Weapon.cpp +++ b/ex03/Weapon/Weapon.cpp @@ -19,8 +19,7 @@ const std::string& Weapon::getType() const return (this->type); } -void Weapon::setType(const std::string &str) +void Weapon::setType(const std::string &str) { this->type = str; } - diff --git a/ex03/Weapon/Weapon.hpp b/ex03/Weapon/Weapon.hpp index 5dbd442..ecd1883 100644 --- a/ex03/Weapon/Weapon.hpp +++ b/ex03/Weapon/Weapon.hpp @@ -16,7 +16,7 @@ # include -class Weapon +class Weapon { private: std::string type; diff --git a/ex03/main.cpp b/ex03/main.cpp index 42bc10e..46193b2 100644 --- a/ex03/main.cpp +++ b/ex03/main.cpp @@ -6,7 +6,7 @@ /* By: aortigos -class Harl +class Harl { private: void debug( void ); diff --git a/ex05/main.cpp b/ex05/main.cpp index 40433d5..7f4a86f 100644 --- a/ex05/main.cpp +++ b/ex05/main.cpp @@ -6,13 +6,13 @@ /* By: aortigos -class Harl +class Harl { private: void debug( void ); diff --git a/ex06/main.cpp b/ex06/main.cpp index 40433d5..e07fcc7 100644 --- a/ex06/main.cpp +++ b/ex06/main.cpp @@ -6,13 +6,13 @@ /* By: aortigos