cpp/cpp03/ex01/ScavTrap.hpp
2022-08-04 14:06:57 +02:00

38 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ScavTrap.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/13 08:03:53 by apommier #+# #+# */
/* Updated: 2022/08/04 14:05:00 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SCAVTRAP_HPP
# define SCAVTRAP_HPP
#include "ClapTrap.hpp"
class ScavTrap : virtual public ClapTrap
{
public:
ScavTrap(std::string name);
ScavTrap(const ScavTrap& copy);
virtual ~ScavTrap();
ScavTrap &operator=(const ScavTrap& rhs);
void attack(const std::string& target);
void guardGate();
protected:
ScavTrap();
};
#endif