29 lines
484 B
C++
29 lines
484 B
C++
#ifndef SCAVTRAP_HPP
|
|
# define SCAVTRAP_HPP
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
#include "ClapTrap.hpp"
|
|
|
|
class ScavTrap : public ClapTrap {
|
|
|
|
public:
|
|
|
|
ScavTrap(); // default/parametric constructor
|
|
ScavTrap( ScavTrap const & src ); // copy constructor
|
|
~ScavTrap(); // destructor
|
|
ScavTrap(std::string name);
|
|
|
|
ScavTrap & operator=( ScavTrap const & rhs ); // assignement operator
|
|
|
|
void guardGate();
|
|
|
|
private:
|
|
|
|
void assignValues( ScavTrap & src);
|
|
|
|
};
|
|
|
|
#endif
|
|
|