diff --git a/stack.h b/stack.h index 58e69fc996fc98d3b0bd3b7ae1226ef54105f263..bfca2f76d1c25b8b8770268737d70deddabcebe5 100644 --- a/stack.h +++ b/stack.h @@ -1,13 +1,10 @@ #include <stdio.h> #include <stdlib.h> -#define TAILLEMAX 9 -#include "location.h" -#include "game.h" +#include "Location.h" -typedef struct stack -{ - int stack[TAILLEMAX]; - int sommet; - struct stack *next; -} stack; +typedef struct Stack +{ + Location* location; + struct Stack* next; +}Stack;