Skip to content
Snippets Groups Projects
Commit 83d75a91 authored by JANUZI Rinor's avatar JANUZI Rinor
Browse files

Replace location.h

parent 40ddd973
No related branches found
No related tags found
No related merge requests found
#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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment