d03 ex03 a priori ok

This commit is contained in:
Hugo LAMY
2022-02-23 17:05:56 +01:00
parent b24335a78e
commit 718fe08eae
21 changed files with 229 additions and 47 deletions

View File

@@ -7,6 +7,22 @@
# include "FragTrap.hpp"
# include "ScavTrap.hpp"
#ifndef COLORS_MACRO
# define COLORS_MACRO
# define B_GRAY "\e[1;30m"
# define B_RED "\e[1;31m"
# define B_GREEN "\e[1;32m"
# define B_YELLOW "\e[1;33m"
# define B_BLUE "\e[1;34m"
# define B_PURPLE "\e[1;35m"
# define B_CYAN "\e[1;36m"
# define B_WHITE "\e[1;37m"
# define RESET "\e[0m"
#endif
class DiamondTrap : public FragTrap, public ScavTrap {
public:
@@ -19,6 +35,8 @@ public:
void whoAmI();
using ScavTrap::attack;
private:
std::string _name;