You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
1.2 KiB

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ScavTrap.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/23 15:17:41 by narnaud #+# #+# */
/* Updated: 2022/06/23 17:03:22 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include "ClapTrap.hpp"
#define ST_HEALTH 100
#define ST_ENERGY 50
#define ST_DMG 20
class ScavTrap : public ClapTrap {
public:
ScavTrap (std::string name, size_t hp = ST_HEALTH,\
size_t ep = ST_ENERGY, size_t atk = ST_DMG);
~ScavTrap (void);
void attack(const std::string& target);
void guardGate(void);
};