12 lines
237 B
C
12 lines
237 B
C
#ifndef WORLD_MODULE_H
|
|
#define WORLD_MODULE_H
|
|
|
|
#include "snake.h"
|
|
|
|
void setup_world(struct state* s, int w, int h);
|
|
void draw_world(const struct state* s);
|
|
char read_input(void);
|
|
void change_direction(struct state* s, char key);
|
|
|
|
#endif
|