d03 ex03 a priori ok
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user