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
28 lines
1.2 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* FragTrap.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/06/23 15:17:41 by narnaud #+# #+# */
|
|
/* Updated: 2022/06/24 07:33:33 by narnaud ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
#include "ClapTrap.hpp"
|
|
#define FT_HEALTH 100
|
|
#define FT_ENERGY 100
|
|
#define FT_DMG 30
|
|
|
|
class FragTrap : public ClapTrap {
|
|
|
|
public:
|
|
|
|
FragTrap (std::string name, size_t hp = FT_HEALTH,\
|
|
size_t ep = FT_ENERGY, size_t atk = FT_DMG);
|
|
~FragTrap (void);
|
|
void attack(const std::string& target);
|
|
void highFivesGuys(void);
|
|
};
|
|
|