25 lines
426 B
C++
25 lines
426 B
C++
#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 ©);
|
|
ScavTrap(std::string name);
|
|
|
|
virtual ~ScavTrap();
|
|
|
|
ScavTrap &operator=(const ScavTrap &src);
|
|
|
|
void attack(const std::string &target);
|
|
void guardGate(void);
|
|
};
|
|
|
|
#endif |