From 83d75a91ffe0f47d387bcd7a1a1a4d20e798c795 Mon Sep 17 00:00:00 2001 From: JANUZI Rinor <rinor.januzi7@etu.univ-lorraine.fr> Date: Sun, 8 Jan 2023 22:53:35 +0000 Subject: [PATCH] Replace location.h --- location.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/location.h b/location.h index 3bfe9cf..c325620 100644 --- a/location.h +++ b/location.h @@ -1,22 +1,17 @@ #ifndef LOCATION_H #define LOCATION_H #include "exits.h" -#include "stack.h" -struct Game; typedef struct Location { char *name; char *desc; - int index; struct Location *directions[6]; } Location; -Location *LocationInit(struct Game *game); - extern Location *LocationNew(char *name, char *desc); extern Location *LocationDelete(Location *m); extern void LocationPrint(Location *m); extern Location *LocationInit(); extern void LocationSetExit(Location *l1, Direction direction, Location *l2); -#endif // LOCATION_H +#endif // LOCATION_H \ No newline at end of file -- GitLab