-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScavTrap.hpp
41 lines (34 loc) · 1.42 KB
/
ScavTrap.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ScavTrap.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: wcorrea- <wcorrea-@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/07/17 17:30:12 by wcorrea- #+# #+# */
/* Updated: 2023/07/24 23:54:52 by wcorrea- ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef SCAVTRAP_HPP
# define SCAVTRAP_HPP
#include "ClapTrap.hpp"
#include <iostream>
class ScavTrap : virtual public ClapTrap
{
protected:
static int const initHit = 100;
static int const initEnergy = 50;
static int const initDamage = 20;
public:
// Constructors
ScavTrap(void);
ScavTrap(std::string const &name);
ScavTrap(ScavTrap const ©);
~ScavTrap(void);
// Operators
ScavTrap &operator=(ScavTrap const ©);
// Special member functions
void guardGate(void);
void attack(std::string const &target);
};
#endif