diff --git a/location.h b/location.h index 3bfe9cf524e74a4ee45a1032f99a0200a4bdeaf3..c325620196170027751841393083ccf8ecc774b3 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