20 lines
246 B
C
20 lines
246 B
C
#ifndef LEVEL_H
|
|
#define LEVEL_H
|
|
|
|
typedef struct Level Level;
|
|
|
|
#include "game.h"
|
|
|
|
struct Level {
|
|
char *data;
|
|
size_t data_size;
|
|
int length;
|
|
int width;
|
|
Game *game;
|
|
};
|
|
|
|
void init_level(Game *g, Level *l);
|
|
void draw_level(Level *l);
|
|
|
|
#endif
|