pvjc25/a3/world.h
2025-05-01 22:45:15 +02:00

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