#ifndef NINJATRAP_HPP # define NINJATRAP_HPP # include # include "ClapTrap.hpp" # include "FragTrap.hpp" # include "ScavTrap.hpp" # define NJ_HIT_POINTS 60 # define NJ_MAXHIT_POINTS 60 # define NJ_ENERGY_POINTS 120 # define NJ_MAXENERGY_POINTS 120 # define NJ_START_LEVEL 1 # define NJ_MELEE_ATTACK_DAMAGE 60 # define NJ_RANGED_ATTACK_DAMAGE 5 # define NJ_ARMOR 0 # ifndef GAME_NAME # define GAME_NAME "F4CK-TP" # endif # ifndef COLOR_BOLD # define COLOR_BOLD "\033[37;1m" # endif # ifndef COLOR_RED # define COLOR_RED "\033[48;5;88m" # endif # ifndef COLOR_CLEAR # define COLOR_CLEAR "\033[0m" # endif # ifndef COLOR_GREY # define COLOR_GREY "\033[1;30m" # endif # ifndef COLOR_GREEN # define COLOR_GREEN "\033[44;5m" # endif class NinjaTrap : public ClapTrap { public: NinjaTrap(void); // constructor NinjaTrap(std::string name); // constructor ~NinjaTrap(void); // destructor NinjaTrap(NinjaTrap const & a); // copy constructor NinjaTrap & operator=(NinjaTrap const & rhs); // assign operator void ninjaShoebox(NinjaTrap const & ninja) const; void ninjaShoebox(ScavTrap & scav) const; void ninjaShoebox(FragTrap & frag); }; std::ostream & operator<<(std::ostream & o, NinjaTrap const & i); // insertion operator #endif