36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* ScavTrap.hpp :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/03/28 11:28:29 by whaffman #+# #+# */
|
|
/* Updated: 2025/04/08 10:19:00 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "ClapTrap.hpp"
|
|
|
|
class ScavTrap : public ClapTrap
|
|
{
|
|
private:
|
|
bool _guard_mode;
|
|
|
|
public:
|
|
ScavTrap();
|
|
ScavTrap(std::string name);
|
|
ScavTrap(ScavTrap const &src);
|
|
~ScavTrap();
|
|
|
|
ScavTrap &operator=(ScavTrap const &other);
|
|
|
|
void attack(std::string const &target);
|
|
void guardGate();
|
|
void status() const;
|
|
};
|
|
|
|
void scavtrap_test(); |