33 lines
598 B
C++
33 lines
598 B
C++
#ifndef SCAVTRAP_HPP
|
|
# define SCAVTRAP_HPP
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
#include "ClapTrap.hpp"
|
|
|
|
class ScavTrap : public ClapTrap {
|
|
|
|
public:
|
|
|
|
ScavTrap( std::string name = ScavTrap::_dName );
|
|
ScavTrap( ScavTrap const & src ); // copy constructor
|
|
~ScavTrap(); // destructor
|
|
|
|
ScavTrap & operator=( ScavTrap const & rhs ); // assignement operator
|
|
|
|
void guardGate();
|
|
|
|
private:
|
|
|
|
static const std::string _dName;
|
|
static const std::string _dClass;
|
|
static const int _dHit;
|
|
static const int _dEnergy;
|
|
static const int _dAttack;
|
|
static const int _dNumber;
|
|
|
|
};
|
|
|
|
#endif
|
|
|