diff --git a/TP1/C-Cpp/includes/mysok.h b/TP1/C-Cpp/includes/mysok.h index ee0d31c..986c0dc 100644 --- a/TP1/C-Cpp/includes/mysok.h +++ b/TP1/C-Cpp/includes/mysok.h @@ -7,11 +7,7 @@ #define NBC 20 #define MAX_CRATES 20 -#define MOVE_U 0 -#define MOVE_D 1 -#define MOVE_L 2 -#define MOVE_R 3 -#define MOVE_W 4 +enum movement { MOVE_U = 0, MOVE_D, MOVE_L, MOVE_R, MOVE_W }; enum board_str { OUT = ' ',