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.
24 lines
1.1 KiB
24 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* DiamondTrap.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/06/23 15:17:41 by narnaud #+# #+# */
|
|
/* Updated: 2022/07/19 02:52:31 by narnaud ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
#include "ScavTrap.hpp"
|
|
#include "FragTrap.hpp"
|
|
|
|
class DiamondTrap : public ScavTrap, public FragTrap {
|
|
std::string _name;
|
|
public:
|
|
DiamondTrap (std::string name);
|
|
~DiamondTrap (void);
|
|
void attack(const std::string& target);
|
|
void whoAmI(void);
|
|
};
|
|
|