Files
cpp03/ex02/ScavTrap/ScavTrap.hpp
Angel Ortigosa Perez 46b7b99abb Min fixes
2025-10-26 20:20:14 +01:00

37 lines
1.3 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 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
{
private:
bool guarding_gate;
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