22 lines
425 B
C++
22 lines
425 B
C++
#ifndef SCAVTRAP_HPP
|
|
# define SCAVTRAP_HPP
|
|
|
|
#include "ClapTrap.hpp"
|
|
#include <iostream>
|
|
|
|
class ScavTrap : public ClapTrap {
|
|
public:
|
|
ScavTrap();
|
|
ScavTrap(std::string name);
|
|
~ScavTrap();
|
|
ScavTrap(const ScavTrap &clap);
|
|
ScavTrap& operator=(const ScavTrap &clap);
|
|
|
|
void attack(const std::string& target);
|
|
void takeDamage(unsigned int amount);
|
|
void beRepaired(unsigned int amount);
|
|
void guardGate();
|
|
};
|
|
|
|
#endif
|