16 lines
238 B
C
16 lines
238 B
C
#ifndef _FD_PARSE_
|
|
#define _FD_PARSE_
|
|
|
|
typedef struct Command Command;
|
|
|
|
#include "game.h"
|
|
#include "word.h"
|
|
|
|
#define MAX_WORDS_IN_COMMAND 4
|
|
struct Command {
|
|
Word *words[4];
|
|
};
|
|
Command *parse(Game *g, const char *typed_command);
|
|
|
|
#endif
|