diff --git a/location.h b/location.h new file mode 100644 index 0000000000000000000000000000000000000000..d2706f908f6b462554668ef52cfc21d0bc418cb9 --- /dev/null +++ b/location.h @@ -0,0 +1,18 @@ +#ifndef LOCATION_H +#define LOCATION_H +#include "exits.h" +#include "stack.h" + +typedef struct Location +{ + char *name; + char *desc; + struct Location *directions[6]; +} Location; + +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 \ No newline at end of file