17 lines
249 B
C
17 lines
249 B
C
|
#ifndef WORLD_H
|
||
|
#define WORLD_H
|
||
|
|
||
|
struct event {
|
||
|
int key;
|
||
|
};
|
||
|
|
||
|
void init_world(int width, int height);
|
||
|
void clear_world();
|
||
|
void draw_character(char c, int x, int y);
|
||
|
void refresh_world();
|
||
|
int world_width();
|
||
|
int world_height();
|
||
|
|
||
|
#endif // WORLD_H
|
||
|
|