mastring the simple heritage
This commit is contained in:
parent
245ac4c3a9
commit
d161579a2a
13 changed files with 376 additions and 4 deletions
30
cpp03/ex02/ScavTrap.hpp
Normal file
30
cpp03/ex02/ScavTrap.hpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ScavTrap.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/20 23:13:16 by rparodi #+# #+# */
|
||||
/* Updated: 2025/01/24 20:57:35 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef SCAVTRAP_HPP
|
||||
#define SCAVTRAP_HPP
|
||||
|
||||
#include <iostream>
|
||||
#include "ClapTrap.hpp"
|
||||
|
||||
class ScavTrap : public ClapTrap {
|
||||
public:
|
||||
ScavTrap(std::string name);
|
||||
void guardGate();
|
||||
protected:
|
||||
|
||||
private:
|
||||
bool _gateKeeperMode;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue