cpp03/ex03/ScavTrap.hpp

23 lines
453 B
C++
Raw Normal View History

2025-05-20 11:24:16 +02:00
#ifndef SCAVTRAP_HPP
#define SCAVTRAP_HPP
#include "ClapTrap.hpp"
class ScavTrap : public virtual ClapTrap {
public:
ScavTrap();
2025-05-27 13:39:30 +02:00
ScavTrap(const ScavTrap &other);
2025-05-20 11:24:16 +02:00
ScavTrap(std::string name);
~ScavTrap();
ScavTrap &operator=(const ScavTrap &other);
void guardGate();
protected:
static const unsigned int default_hit_points;
static const unsigned int default_energy_points;
static const unsigned int default_attack_damage;
2025-05-20 11:24:16 +02:00
};
#endif