d03 ex03 a priori ok
This commit is contained in:
@@ -5,6 +5,22 @@
|
||||
#include <string>
|
||||
#include "ClapTrap.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 ScavTrap : public virtual ClapTrap {
|
||||
|
||||
public:
|
||||
@@ -16,8 +32,9 @@ public:
|
||||
ScavTrap & operator=( ScavTrap const & rhs ); // assignement operator
|
||||
|
||||
void guardGate();
|
||||
void attack(const std::string & target);
|
||||
|
||||
private:
|
||||
protected:
|
||||
|
||||
static const std::string _dName;
|
||||
static const std::string _dClass;
|
||||
|
||||
Reference in New Issue
Block a user