first commit

This commit is contained in:
lfirmin
2026-09-06 18:54:24 +02:00
commit e66bfd90a0
21 changed files with 1520 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef SCAVTRAP_HPP
# define SCAVTRAP_HPP
#include <string>
#include <iostream>
#include "ClapTrap.hpp"
class ScavTrap: public ClapTrap {
private:
bool _guarding_gate;
public:
ScavTrap();
ScavTrap(const ScavTrap &copy);
ScavTrap(std::string name);
virtual ~ScavTrap();
ScavTrap &operator=(const ScavTrap &src);
void attack(const std::string &target);
void guardGate(void);
};
#endif