diff --git a/ex00/ClapTrap/ClapTrap.o b/ex00/ClapTrap/ClapTrap.o new file mode 100644 index 0000000..1f7da65 Binary files /dev/null and b/ex00/ClapTrap/ClapTrap.o differ diff --git a/ex00/claptrap b/ex00/claptrap new file mode 100755 index 0000000..68f7591 Binary files /dev/null and b/ex00/claptrap differ diff --git a/ex00/main.o b/ex00/main.o new file mode 100644 index 0000000..f513aa2 Binary files /dev/null and b/ex00/main.o differ diff --git a/ex01/ScavTrap/ScavTrap.cpp b/ex01/ScavTrap/ScavTrap.cpp index bde7953..10829dc 100644 --- a/ex01/ScavTrap/ScavTrap.cpp +++ b/ex01/ScavTrap/ScavTrap.cpp @@ -40,6 +40,7 @@ ScavTrap& ScavTrap::operator=(const ScavTrap &other) this->health = other.health; this->energy = other.energy; this->attackDamage = other.attackDamage; + this->guarding_gate = other.guarding_gate; } return (*this); } diff --git a/ex02/ScavTrap/ScavTrap.cpp b/ex02/ScavTrap/ScavTrap.cpp index 022ff22..1dfa7c1 100644 --- a/ex02/ScavTrap/ScavTrap.cpp +++ b/ex02/ScavTrap/ScavTrap.cpp @@ -40,6 +40,7 @@ ScavTrap& ScavTrap::operator=(const ScavTrap &other) this->health = other.health; this->energy = other.energy; this->attackDamage = other.attackDamage; + this->guarding_gate = other.guarding_gate; } return (*this); }