ex02 done and modified 42header on files

This commit is contained in:
2025-09-19 13:10:16 +02:00
parent 7cce8266c4
commit 5373b7728d
12 changed files with 401 additions and 4 deletions

View File

@@ -0,0 +1,34 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ScavTrap.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/06 02:27:27 by aortigos #+# #+# */
/* Updated: 2025/09/06 02:28:09 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SCAVTRAP_HPP
# define SCAVTRAP_HPP
# include <iostream>
# include "../ClapTrap/ClapTrap.hpp"
class ScavTrap : public ClapTrap
{
public:
ScavTrap();
ScavTrap(std::string name);
ScavTrap(const ScavTrap &other);
ScavTrap& operator=(const ScavTrap &other);
~ScavTrap();
void attack(const std::string &target);
void guardGate();
};
#endif