thrive/01_text_adventure/room.h

21 lines
254 B
C

#ifndef _FD_ROOM_
#define _FD_ROOM_
typedef struct Room Room;
typedef struct Rooms Rooms;
struct Room {
char *name;
char *description;
};
struct Rooms {
Room rooms[100];
int count;
};
void free_room(Room r);
void free_rooms(Rooms r);
#endif